﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:basic="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit"
                    xmlns:primitives="clr-namespace:Microsoft.Windows.Controls.Primitives;assembly=WPFToolkit"
                    xmlns:vsm="clr-namespace:System.Windows;assembly=WPFToolkit">

    <!-- Resources -->
    <SolidColorBrush x:Key="BaseColorBrush" Color="#FF9FD752"/>
    <SolidColorBrush x:Key="BorderBrush" Color="#FF333333"/>
    <SolidColorBrush x:Key="ForegroundBrush" Color="#FF333333"/>
    <SolidColorBrush x:Key="HoverBrush" Color="#7FFBF445"/>
    <SolidColorBrush x:Key="HyperlinkBrush" Color="#FF74AF22"/>    
    <SolidColorBrush x:Key="WindowBackgroundBrush" Color="#FFFFFFFF" />

    <!--Button-->
    <Style TargetType="Button">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="Padding" Value="4" />
        <Setter Property="Cursor" Value="Hand" />
        <!--<Setter Property="TextWrapping" Value="NoWrap" />-->
        <Setter Property="Margin" Value="0,-1,0,0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>

                        <!-- Start:UI -->
                        <Path Margin="-1.25,0,0,-1" x:Name="LineBack" RenderTransformOrigin="0.5,0.5" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path HorizontalAlignment="Stretch" Stretch="Fill" Margin="1.5,2.5,5.5,2.5" x:Name="Background" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5" Fill="{TemplateBinding Background}" StrokeThickness="2">
                            <Path.Data>
                                <PathGeometry>
                                    <PathFigure IsClosed="True" StartPoint="55.3734893798828,18.3878383636475">
                                        <BezierSegment Point1="55.4575424194336,19.6423645019531" Point2="54.0918769836426,18.1212940216064" Point3="54.1759376525879,19.3758182525635"/>
                                        <BezierSegment Point1="54.1044921875,19.43869972229" Point2="54.1721153259277,19.5379447937012" Point3="54.101448059082,19.5246734619141"/>
                                        <BezierSegment Point1="53.697998046875,19.2345180511475" Point2="53.7027320861816,20.5981388092041" Point3="53.2657089233398,20.5459175109863"/>
                                        <LineSegment Point="54.9807624816895,20.2940578460693"/>
                                        <BezierSegment Point1="55.4915466308594,19.2132472991943" Point2="55.6735687255859,19.6681518554688" Point3="55.5702743530273,19.2230930328369"/>
                                        <LineSegment Point="55.3734893798828,18.3878383636475"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="2.75041627883911,4.18817186355591">
                                        <BezierSegment Point1="2.60941195487976,4.23498106002808" Point2="2.44556498527527,4.34848213195801" Point3="2.25126266479492,4.5509033203125"/>
                                        <BezierSegment Point1="1.95730113983154,3.90779161453247" Point2="1.66666030883789,5.07916784286499" Point3="1.46416211128235,5.60511302947998"/>
                                        <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                        <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                        <LineSegment Point="1.43954491615295,5.49028921127319"/>
                                        <BezierSegment Point1="1.46683251857758,5.47077798843384" Point2="1.34879219532013,5.18408298492432" Point3="1.2877790927887,5.220703125"/>
                                        <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                        <LineSegment Point="1.26432502269745,5.24535417556763"/>
                                        <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                        <LineSegment Point="1.26432502269745,5.59193277359009"/>
                                        <BezierSegment Point1="1.28229105472565,5.78759717941284" Point2="1.3096958398819,5.8595871925354" Point3="1.34388554096222,5.84831285476685"/>
                                        <LineSegment Point="1.46416211128235,5.60511302947998"/>
                                        <LineSegment Point="2.18957805633545,6.91105651855469"/>
                                        <BezierSegment Point1="4.89191150665283,6.34800672531128" Point2="3.10698843002319,8.09412384033203" Point3="4.9653377532959,5.38372611999512"/>
                                        <BezierSegment Point1="3.60521507263184,6.80067920684814" Point2="3.73745012283325,3.86050128936768" Point3="2.75041627883911,4.18817186355591"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="3.98743844032288,2.72233080863953">
                                        <BezierSegment Point1="3.87878394126892,2.65442371368408" Point2="3.73797965049744,2.68036603927612" Point3="3.53287696838379,2.89400577545166"/>
                                        <BezierSegment Point1="3.3777277469635,2.55462884902954" Point2="3.22433018684387,3.17277550697327" Point3="3.11745405197144,3.45032072067261"/>
                                        <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                        <LineSegment Point="3.02260160446167,3.27531266212463"/>
                                        <LineSegment Point="3.01198220252991,3.2604718208313"/>
                                        <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                        <LineSegment Point="3.01198220252991,3.44336438179016"/>
                                        <BezierSegment Point1="3.01268339157104,3.45099830627441" Point2="3.01341199874878,3.45827555656433" Point3="3.11745405197144,3.45032072067261"/>
                                        <LineSegment Point="3.50032067298889,4.13947582244873"/>
                                        <LineSegment Point="4.19300651550293,4.08932685852051"/>
                                        <BezierSegment Point1="4.57573270797729,4.15608644485474" Point2="4.22972536087036,4.40621519088745" Point3="4.9653377532959,3.33349204063416"/>
                                        <BezierSegment Point1="4.35003042221069,3.97440934181213" Point2="4.31340551376343,2.92605090141296" Point3="3.98743844032288,2.72233080863953"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="43.6054306030273,2.55744552612305">
                                        <LineSegment Point="42.7685508728027,3.07746315002441"/>
                                        <BezierSegment Point1="42.8401260375977,3.02574563026428" Point2="44.8010520935059,3.60871481895447" Point3="44.8063468933105,3.56444692611694"/>
                                        <LineSegment Point="47.3169860839844,3.1744339466095"/>
                                        <BezierSegment Point1="47.7981910705566,2.0477294921875" Point2="50.5490341186523,3.69445133209229" Point3="50.9364852905273,2.43774271011353"/>
                                        <LineSegment Point="46.9194679260254,2.11273193359375"/>
                                        <BezierSegment Point1="45.9232177734375,2.00986051559448" Point2="42.2318840026855,3.34697723388672" Point3="43.6054306030273,2.55744552612305"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="16.5382518768311,2.38410639762878">
                                        <BezierSegment Point1="17.9376049041748,2.47057723999023" Point2="28.9235725402832,0.979193687438965" Point3="30.961519241333,1.25740206241608"/>
                                        <BezierSegment Point1="39.7206230163574,2.45314311981201" Point2="36.6131362915039,2.46526336669922" Point3="45.4653663635254,2.03742814064026"/>
                                        <BezierSegment Point1="48.1704330444336,1.90669059753418" Point2="53.7993202209473,2.94819211959839" Point3="56.5043983459473,2.81745433807373"/>
                                        <BezierSegment Point1="57.6275444030762,2.76317286491394" Point2="58.8492164611816,1.81751883029938" Point3="58.7605514526367,4.98419380187988"/>
                                        <BezierSegment Point1="58.6914901733398,7.45075988769531" Point2="59.2414894104004,7.46710634231567" Point3="59.1634330749512,9.40434169769287"/>
                                        <LineSegment Point="59.1302642822266,9.42093944549561"/>
                                        <BezierSegment Point1="58.9689521789551,9.46572589874268" Point2="58.8931922912598,9.64298820495605" Point3="58.9885597229004,10.0852022171021"/>
                                        <LineSegment Point="58.7547225952148,10.0751485824585"/>
                                        <BezierSegment Point1="58.7845993041992,10.1730222702026" Point2="59.0883674621582,10.4170408248901" Point3="59.129207611084,10.4465093612671"/>
                                        <LineSegment Point="58.9072380065918,10.2733154296875"/>
                                        <BezierSegment Point1="58.2435150146484,9.76523780822754" Point2="58.5282859802246,11.6655864715576" Point3="57.8627014160156,11.4802284240723"/>
                                        <BezierSegment Point1="57.8627014160156,11.4802284240723" Point2="58.1601409912109,13.5446062088013" Point3="58.357666015625,14.1711664199829"/>
                                        <BezierSegment Point1="58.9370613098145,16.0090198516846" Point2="58.3653373718262,16.4901638031006" Point3="58.357666015625,18.4179744720459"/>
                                        <BezierSegment Point1="58.3484077453613,20.745641708374" Point2="60.4300498962402,21.9203453063965" Point3="56.8666801452637,21.5362567901611"/>
                                        <BezierSegment Point1="45.6265144348145,20.32470703125" Point2="39.9008178710938,21.5664978027344" Point3="30.3169002532959,20.9313945770264"/>
                                        <BezierSegment Point1="24.7872543334961,20.5649566650391" Point2="17.0756797790527,21.3352470397949" Point3="11.5372772216797,21.6029224395752"/>
                                        <BezierSegment Point1="9.37526988983154,21.7074146270752" Point2="6.82023525238037,22.2953662872314" Point3="4.65164470672607,21.9357109069824"/>
                                        <BezierSegment Point1="1.45201742649078,21.4050598144531" Point2="1.73953628540039,23.0963401794434" Point3="1.51341998577118,17.1753234863281"/>
                                        <BezierSegment Point1="1.38521957397461,13.8183069229126" Point2="0.133225455880165,11.0509176254272" Point3="0.00502508180215955,7.6939001083374"/>
                                        <BezierSegment Point1="-0.0463196896016598,6.3494029045105" Point2="0.306805700063705,4.28786516189575" Point3="0.562162816524506,2.95534110069275"/>
                                        <LineSegment Point="2.65466785430908,2.14960050582886"/>
                                        <BezierSegment Point1="5.5844030380249,2.0080041885376" Point2="7.20274591445923,3.57988381385803" Point3="10.0115203857422,2.2107675075531"/>
                                        <BezierSegment Point1="11.7393894195557,1.36852860450745" Point2="15.138897895813,2.29763579368591" Point3="16.5382518768311,2.38410639762878"/>
                                    </PathFigure>
                                </PathGeometry>
                            </Path.Data>
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform X="1.4916732314436434" Y="-0.23907148924159571"/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path Margin="-1.25,0,0,-1" x:Name="Line" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <ContentPresenter
                              x:Name="contentPresenter"
                              Content="{TemplateBinding Content}"
                              ContentTemplate="{TemplateBinding ContentTemplate}"
                              RenderTransformOrigin="0.5,0.5" 
                            
                              HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" 
                              Margin="{TemplateBinding Padding}"
                              VerticalAlignment="{TemplateBinding VerticalContentAlignment}"                                                           
                            >

                            <!--                              FontFamily="Arial"
                              FontSize="11"
                              FontWeight="Bold"
                              FontStretch="{TemplateBinding FontStretch}"
                              FontStyle="{TemplateBinding FontStyle}"
                            
                            Foreground="{TemplateBinding Foreground}"
                            
                            Padding="{TemplateBinding Padding}"
                              TextDecorations="{TemplateBinding TextDecorations}"
                              TextWrapping="{TemplateBinding TextWrapping}"
                              TextAlignment="Center"
                              VerticalContentAlignment="Center"
                              HorizontalContentAlignment="Center" -->
                            <ContentPresenter.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </ContentPresenter.RenderTransform>
                        </ContentPresenter>
                        <Path Margin="2.75,4.375,4,3.5" x:Name="FocusVisual" StrokeDashArray="1 2" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path Margin="-1.25,0,0,-1" x:Name="DisabledVisual" Stretch="Fill" Stroke="#B2FFFFFF" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z" Opacity="0" RenderTransformOrigin="0.5,0.5" Fill="#B2FFFFFF">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <!-- End:UI -->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--CheckBox-->
    <Style TargetType="CheckBox">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="Margin" Value="0"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Cursor" Value="Arrow"/>
        <!--<Setter Property="TextAlignment" Value="Left"/>-->
        <!--<Setter Property="TextWrapping" Value="NoWrap"/>-->
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="CheckBox">
                    <Grid Cursor="Arrow">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Fill" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Fill" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CheckOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CheckOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="IndetermintateOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="IndetermintateOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Fill" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Fill" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CheckOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CheckOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="IndetermintateOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="IndetermintateOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="Opacity" To=""/>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Content" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="CheckStates">
                                <VisualState x:Name="Checked">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="CheckVisual" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unchecked" />
                                <VisualState x:Name="Indeterminate">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="IndeterminateVisual" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Unfocused" />
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentFocusVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ContentFocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentFocusVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>

                        <!-- Start:UI -->
                        <Path x:Name="Line" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Width="14" Height="14" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5" Data="M2.1666667,234.16667 C5.8173413,233.69049 9.0472345,234.16667 12.666667,234.16667 C13.625546,234.16667 13.614246,233.78091 14.333333,234.5 C14.749932,234.9166 15,235.35416 15,236 C15,238.95284 15.614571,241.34795 14.333333,244.16667 C13.440694,246.13048 15.787796,246.83333 12.166667,246.83333 C9.3277521,246.83333 6.6090913,246.69827 3.8333333,246.5 C1.8735431,246.36002 2.6004581,249.33678 2,244.83333 C1.790879,243.26492 2,241.59055 2,240 C2,238.45003 1.63987,236.88104 1.8333334,235.33333 C2.0027289,233.97816 2.1791835,234.78062 3,233.66667">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path x:Name="Fill" Fill="{TemplateBinding Background}" Stretch="Fill" StrokeThickness="2" Width="8.5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="8.5" RenderTransformOrigin="0.5,0.5" Data="M2.1666667,234.16667 C5.8173413,233.69049 9.42311,233.73672 13.042542,233.73672 C14.001422,233.73672 13.614246,233.78091 14.333333,234.5 C14.749932,234.9166 15.64248,235.36954 15.64248,236.01538 C15.64248,238.96822 16.676264,242.16611 15.395027,244.98483 C14.502388,246.94864 16.118021,247.54753 12.496893,247.54753 C9.6579781,247.54753 8.7105455,247.99353 5.9347878,247.79526 C3.9749978,247.65527 2.6004581,249.33678 2,244.83333 C1.790879,243.26492 2,241.59055 2,240 C2,238.45003 1.63987,236.88104 1.8333334,235.33333 C2.0027289,233.97816 2.4982078,233.78133 3.3190243,232.66737">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Grid x:Name="CheckOut">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Path Fill="{TemplateBinding BorderBrush}" Stroke="{TemplateBinding BorderBrush}" Stretch="Fill" StrokeThickness="0.75" x:Name="CheckVisual" Width="7" Height="6" Opacity="0" RenderTransformOrigin="0.5,0.5" Data="M5.6667972,237.66629 C7.2538533,237.87108 8.2900753,237.86133 9.9167976,237.49983 C10.450503,237.38123 10.932315,238.16667 11.5,238.16667 C12.126745,238.16667 12.194501,237.722 11.916667,238.83333 C11.794479,239.32208 12.080911,244.03731 11.666667,244.08333 C10.690258,244.19182 5.3457832,245.12595 4.75,244.08333 C4.0560555,242.86893 4.5,240.56615 4.5,239.08333 C4.5,237.8156 4.1810727,238.00514 5.6667972,237.66629 z"/>
                        </Grid>
                        <Grid x:Name="IndetermintateOut">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Path Fill="#7FFFFFFF" Stroke="{TemplateBinding BorderBrush}" Stretch="Fill" StrokeThickness="1" x:Name="IndeterminateVisual" Width="7" Height="6" Opacity="0" RenderTransformOrigin="0.5,0.5" Data="M5.6667972,237.66629 C7.2538533,237.87108 8.2900753,237.86133 9.9167976,237.49983 C10.450503,237.38123 10.932315,238.16667 11.5,238.16667 C12.126745,238.16667 12.194501,237.722 11.916667,238.83333 C11.794479,239.32208 12.080911,244.03731 11.666667,244.08333 C10.690258,244.19182 5.3457832,245.12595 4.75,244.08333 C4.0560555,242.86893 4.5,240.56615 4.5,239.08333 C4.5,237.8156 4.1810727,238.00514 5.6667972,237.66629 z"/>
                        </Grid>
                        <ContentPresenter
		                          x:Name="Content"
		                          Grid.Column="1"
		                          Content="{TemplateBinding Content}"
		                          ContentTemplate="{TemplateBinding ContentTemplate}"
		                          Margin="4,2,2,1"
		                          IsHitTestVisible="true" />
                        <!--
		                          Background="Transparent"
		                          FontFamily="Arial"
		                          FontSize="11"
		                          FontWeight="Normal"
		                          FontStretch="{TemplateBinding FontStretch}"
		                          FontStyle="{TemplateBinding FontStyle}"
		                          Foreground="{TemplateBinding Foreground}"
		                          HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
		                          Padding="{TemplateBinding Padding}"
		                          TextAlignment="{TemplateBinding TextAlignment}"
		                          TextDecorations="{TemplateBinding TextDecorations}"
		                          TextWrapping="{TemplateBinding TextWrapping}"
		                          VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
-->
                        <Rectangle x:Name="ContentFocusVisualElement" Grid.Column="1" Stroke="{TemplateBinding BorderBrush}" StrokeThickness=".5" StrokeDashCap="Square" Margin="1" StrokeDashArray="1 2" Visibility="Collapsed" RadiusX="2" RadiusY="2" IsHitTestVisible="false"/>
                        <Path x:Name="DisabledVisual" Fill="#B2FFFFFF" Opacity="0" Stretch="Fill" Stroke="#B2FFFFFF" StrokeThickness="2" Width="14" Height="14" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5" Data="M2.1666667,234.16667 C5.8173413,233.69049 9.0472345,234.16667 12.666667,234.16667 C13.625546,234.16667 13.614246,233.78091 14.333333,234.5 C14.749932,234.9166 15,235.35416 15,236 C15,238.95284 15.614571,241.34795 14.333333,244.16667 C13.440694,246.13048 15.787796,246.83333 12.166667,246.83333 C9.3277521,246.83333 6.6090913,246.69827 3.8333333,246.5 C1.8735431,246.36002 2.6004581,249.33678 2,244.83333 C1.790879,243.26492 2,241.59055 2,240 C2,238.45003 1.63987,236.88104 1.8333334,235.33333 C2.0027289,233.97816 2.1791835,234.78062 3,233.66667"/>
                        <!-- Start:UI -->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--RadioButton-->
    <Style TargetType="RadioButton">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="Margin" Value="0"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Cursor" Value="Arrow"/>
        <!--<Setter Property="TextAlignment" Value="Left"/>
        <Setter Property="TextWrapping" Value="NoWrap"/>-->
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="RadioButton">
                    <Grid Cursor="Arrow">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Fill" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Fill" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CheckOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CheckOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Fill" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Fill" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CheckOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CheckOut" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.125"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.7"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Content" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="CheckStates">
                                <VisualState x:Name="Checked">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="CheckVisual" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unchecked"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Unfocused" >
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentFocusVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ContentFocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentFocusVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>

                        <!-- Start:UI -->
                        <Path x:Name="Line" Margin="0,0,0,0" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Width="14" Height="14" RenderTransformOrigin="0.5,0.5" Data="M2.6666667,237.16667 C4.2994065,235.0237 4.2461996,234.08333 7.75,234.08333 C9.1296425,234.08333 10.540268,233.97746 11.916667,234.08333 C12.87594,234.15712 13.290311,234.70699 14,235.41667 C15.771234,237.1879 15.757409,238.28888 15.25,241.33333 C14.939452,243.19662 14.419329,244.38515 12.333333,245.33333 C11.006699,245.93636 10.253301,245.91667 8.75,245.91667 C7.8333335,245.91667 6.9166665,245.91667 6,245.91667 C4.4510226,245.91667 4.9184051,245.96489 3.75,244.66667 C1.6190016,242.29889 1.251086,240.91795 2.6666667,237.16667 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path x:Name="Fill" Margin="0,0,0,0" Fill="{TemplateBinding Background}" Stretch="Fill" StrokeThickness="2" HorizontalAlignment="Center" VerticalAlignment="Center" Width="9.618" Height="8.04" RenderTransformOrigin="0.5,0.5" Data="M1.2876575,236.0699 C2.9203973,233.92693 5.3235211,233.38657 8.827322,233.38657 C10.206964,233.38657 10.540268,233.97746 11.916667,234.08333 C12.87594,234.15712 13.290311,234.70699 14,235.41667 C15.771234,237.1879 15.493634,238.80948 14.986225,241.85393 C14.675677,243.71722 14.862322,244.8708 12.776326,245.81898 C11.449692,246.42201 10.363843,245.13373 8.8605423,245.13373 C7.9438763,245.13373 6.9166665,245.91667 6,245.91667 C4.4510226,245.91667 1.1887827,244.58354 0.02037777,243.28532 C-2.1106207,240.91754 -0.12792324,239.82118 1.2876575,236.0699 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Grid x:Name="CheckOut">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Path x:Name="CheckVisual" Height="5" HorizontalAlignment="Center" Margin="0,0,0,0" VerticalAlignment="Center" Width="5" Fill="{TemplateBinding BorderBrush}" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Opacity="0" RenderTransformOrigin="0.5,0.5" Data="M7.4375,238.1875 C8.021925,237.78763 8.4588184,237.78125 9.25,237.78125 C10.516856,237.78125 10.221523,237.67723 10.8125,239.1875 C10.928074,239.48285 11.086929,239.70766 11.125,240.03125 C11.160986,240.33713 11.284562,240.83171 11.15625,241.125 C10.730259,242.09869 9.9986687,241.61713 9.21875,242.09375 C8.5447254,242.50566 8.1085663,242.95682 7.0625,242.40625 C6.1778407,241.94064 5.9525313,241.50909 5.84375,240.3125 C5.7126927,238.87086 6.2825603,239.03349 7.5625,238.0625">
                            </Path>
                        </Grid>
                        <ContentPresenter
                              Grid.Column="1"
                              Content="{TemplateBinding Content}"
                              ContentTemplate="{TemplateBinding ContentTemplate}"
                              Margin="4,2,2,1"
                              IsHitTestVisible="true" />
                        <!--
                              Background="Transparent"
                              FontFamily="Arial"
                              FontSize="11"
                              FontWeight="Normal"
                              FontStretch="{TemplateBinding FontStretch}"
                              FontStyle="{TemplateBinding FontStyle}"
		                      Foreground="{TemplateBinding Foreground}"
                              HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
                              Padding="{TemplateBinding Padding}"
                              TextAlignment="{TemplateBinding TextAlignment}"
                              TextDecorations="{TemplateBinding TextDecorations}"
                              TextWrapping="{TemplateBinding TextWrapping}"
                              VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
                        
-->
                        <Rectangle x:Name="ContentFocusVisualElement" StrokeDashArray="1 2" Grid.Column="1" Stroke="{TemplateBinding BorderBrush}" StrokeThickness=".5" StrokeDashCap="Square" Margin="1" Visibility="Collapsed" RadiusX="2" RadiusY="2" IsHitTestVisible="false"/>
                        <Path x:Name="DisabledVisual" Height="14" Width="14" Margin="0,0,0,0" Fill="#B2FFFFFF" Stretch="Fill" Stroke="#B2FFFFFF" StrokeThickness="2" Opacity="0" Data="M2.6666667,237.16667 C4.2994065,235.0237 4.2461996,234.08333 7.75,234.08333 C9.1296425,234.08333 10.540268,233.97746 11.916667,234.08333 C12.87594,234.15712 13.290311,234.70699 14,235.41667 C15.771234,237.1879 15.757409,238.28888 15.25,241.33333 C14.939452,243.19662 14.419329,244.38515 12.333333,245.33333 C11.006699,245.93636 10.253301,245.91667 8.75,245.91667 C7.8333335,245.91667 6.9166665,245.91667 6,245.91667 C4.4510226,245.91667 4.9184051,245.96489 3.75,244.66667 C1.6190016,242.29889 1.251086,240.91795 2.6666667,237.16667 z"/>
                        <!-- Start:UI -->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--ToggleButton-->
    <Style TargetType="ToggleButton">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="Padding" Value="4" />
        <Setter Property="Cursor" Value="Hand" />
        <!--<Setter Property="TextWrapping" Value="NoWrap" />-->
        <Setter Property="Margin" Value="0,-1,0,0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ToggleButton">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Noise" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Noise" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Noise" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Noise" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="CheckStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0:0:0.1"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Checked">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="NoiseOne" Storyboard.TargetProperty="Opacity" To="1"/>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="NoiseTwo" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unchecked" >
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Indeterminate">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="NoiseOne" Storyboard.TargetProperty="Opacity" To="1"/>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="NoiseTwo" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused" />
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>

                        <!-- Start:UI -->
                        <Path Margin="-1.25,0,0,-1" x:Name="LineBack" RenderTransformOrigin="0.5,0.5" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path HorizontalAlignment="Stretch" Stretch="Fill" Margin="1.5,2.5,5.5,2.5" x:Name="Background" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5" Fill="{TemplateBinding Background}" StrokeThickness="2">
                            <Path.Data>
                                <PathGeometry>
                                    <PathFigure IsClosed="True" StartPoint="55.3734893798828,18.3878383636475">
                                        <BezierSegment Point1="55.4575424194336,19.6423645019531" Point2="54.0918769836426,18.1212940216064" Point3="54.1759376525879,19.3758182525635"/>
                                        <BezierSegment Point1="54.1044921875,19.43869972229" Point2="54.1721153259277,19.5379447937012" Point3="54.101448059082,19.5246734619141"/>
                                        <BezierSegment Point1="53.697998046875,19.2345180511475" Point2="53.7027320861816,20.5981388092041" Point3="53.2657089233398,20.5459175109863"/>
                                        <LineSegment Point="54.9807624816895,20.2940578460693"/>
                                        <BezierSegment Point1="55.4915466308594,19.2132472991943" Point2="55.6735687255859,19.6681518554688" Point3="55.5702743530273,19.2230930328369"/>
                                        <LineSegment Point="55.3734893798828,18.3878383636475"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="2.75041627883911,4.18817186355591">
                                        <BezierSegment Point1="2.60941195487976,4.23498106002808" Point2="2.44556498527527,4.34848213195801" Point3="2.25126266479492,4.5509033203125"/>
                                        <BezierSegment Point1="1.95730113983154,3.90779161453247" Point2="1.66666030883789,5.07916784286499" Point3="1.46416211128235,5.60511302947998"/>
                                        <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                        <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                        <LineSegment Point="1.43954491615295,5.49028921127319"/>
                                        <BezierSegment Point1="1.46683251857758,5.47077798843384" Point2="1.34879219532013,5.18408298492432" Point3="1.2877790927887,5.220703125"/>
                                        <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                        <LineSegment Point="1.26432502269745,5.24535417556763"/>
                                        <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                        <LineSegment Point="1.26432502269745,5.59193277359009"/>
                                        <BezierSegment Point1="1.28229105472565,5.78759717941284" Point2="1.3096958398819,5.8595871925354" Point3="1.34388554096222,5.84831285476685"/>
                                        <LineSegment Point="1.46416211128235,5.60511302947998"/>
                                        <LineSegment Point="2.18957805633545,6.91105651855469"/>
                                        <BezierSegment Point1="4.89191150665283,6.34800672531128" Point2="3.10698843002319,8.09412384033203" Point3="4.9653377532959,5.38372611999512"/>
                                        <BezierSegment Point1="3.60521507263184,6.80067920684814" Point2="3.73745012283325,3.86050128936768" Point3="2.75041627883911,4.18817186355591"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="3.98743844032288,2.72233080863953">
                                        <BezierSegment Point1="3.87878394126892,2.65442371368408" Point2="3.73797965049744,2.68036603927612" Point3="3.53287696838379,2.89400577545166"/>
                                        <BezierSegment Point1="3.3777277469635,2.55462884902954" Point2="3.22433018684387,3.17277550697327" Point3="3.11745405197144,3.45032072067261"/>
                                        <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                        <LineSegment Point="3.02260160446167,3.27531266212463"/>
                                        <LineSegment Point="3.01198220252991,3.2604718208313"/>
                                        <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                        <LineSegment Point="3.01198220252991,3.44336438179016"/>
                                        <BezierSegment Point1="3.01268339157104,3.45099830627441" Point2="3.01341199874878,3.45827555656433" Point3="3.11745405197144,3.45032072067261"/>
                                        <LineSegment Point="3.50032067298889,4.13947582244873"/>
                                        <LineSegment Point="4.19300651550293,4.08932685852051"/>
                                        <BezierSegment Point1="4.57573270797729,4.15608644485474" Point2="4.22972536087036,4.40621519088745" Point3="4.9653377532959,3.33349204063416"/>
                                        <BezierSegment Point1="4.35003042221069,3.97440934181213" Point2="4.31340551376343,2.92605090141296" Point3="3.98743844032288,2.72233080863953"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="43.6054306030273,2.55744552612305">
                                        <LineSegment Point="42.7685508728027,3.07746315002441"/>
                                        <BezierSegment Point1="42.8401260375977,3.02574563026428" Point2="44.8010520935059,3.60871481895447" Point3="44.8063468933105,3.56444692611694"/>
                                        <LineSegment Point="47.3169860839844,3.1744339466095"/>
                                        <BezierSegment Point1="47.7981910705566,2.0477294921875" Point2="50.5490341186523,3.69445133209229" Point3="50.9364852905273,2.43774271011353"/>
                                        <LineSegment Point="46.9194679260254,2.11273193359375"/>
                                        <BezierSegment Point1="45.9232177734375,2.00986051559448" Point2="42.2318840026855,3.34697723388672" Point3="43.6054306030273,2.55744552612305"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="16.5382518768311,2.38410639762878">
                                        <BezierSegment Point1="17.9376049041748,2.47057723999023" Point2="28.9235725402832,0.979193687438965" Point3="30.961519241333,1.25740206241608"/>
                                        <BezierSegment Point1="39.7206230163574,2.45314311981201" Point2="36.6131362915039,2.46526336669922" Point3="45.4653663635254,2.03742814064026"/>
                                        <BezierSegment Point1="48.1704330444336,1.90669059753418" Point2="53.7993202209473,2.94819211959839" Point3="56.5043983459473,2.81745433807373"/>
                                        <BezierSegment Point1="57.6275444030762,2.76317286491394" Point2="58.8492164611816,1.81751883029938" Point3="58.7605514526367,4.98419380187988"/>
                                        <BezierSegment Point1="58.6914901733398,7.45075988769531" Point2="59.2414894104004,7.46710634231567" Point3="59.1634330749512,9.40434169769287"/>
                                        <LineSegment Point="59.1302642822266,9.42093944549561"/>
                                        <BezierSegment Point1="58.9689521789551,9.46572589874268" Point2="58.8931922912598,9.64298820495605" Point3="58.9885597229004,10.0852022171021"/>
                                        <LineSegment Point="58.7547225952148,10.0751485824585"/>
                                        <BezierSegment Point1="58.7845993041992,10.1730222702026" Point2="59.0883674621582,10.4170408248901" Point3="59.129207611084,10.4465093612671"/>
                                        <LineSegment Point="58.9072380065918,10.2733154296875"/>
                                        <BezierSegment Point1="58.2435150146484,9.76523780822754" Point2="58.5282859802246,11.6655864715576" Point3="57.8627014160156,11.4802284240723"/>
                                        <BezierSegment Point1="57.8627014160156,11.4802284240723" Point2="58.1601409912109,13.5446062088013" Point3="58.357666015625,14.1711664199829"/>
                                        <BezierSegment Point1="58.9370613098145,16.0090198516846" Point2="58.3653373718262,16.4901638031006" Point3="58.357666015625,18.4179744720459"/>
                                        <BezierSegment Point1="58.3484077453613,20.745641708374" Point2="60.4300498962402,21.9203453063965" Point3="56.8666801452637,21.5362567901611"/>
                                        <BezierSegment Point1="45.6265144348145,20.32470703125" Point2="39.9008178710938,21.5664978027344" Point3="30.3169002532959,20.9313945770264"/>
                                        <BezierSegment Point1="24.7872543334961,20.5649566650391" Point2="17.0756797790527,21.3352470397949" Point3="11.5372772216797,21.6029224395752"/>
                                        <BezierSegment Point1="9.37526988983154,21.7074146270752" Point2="6.82023525238037,22.2953662872314" Point3="4.65164470672607,21.9357109069824"/>
                                        <BezierSegment Point1="1.45201742649078,21.4050598144531" Point2="1.73953628540039,23.0963401794434" Point3="1.51341998577118,17.1753234863281"/>
                                        <BezierSegment Point1="1.38521957397461,13.8183069229126" Point2="0.133225455880165,11.0509176254272" Point3="0.00502508180215955,7.6939001083374"/>
                                        <BezierSegment Point1="-0.0463196896016598,6.3494029045105" Point2="0.306805700063705,4.28786516189575" Point3="0.562162816524506,2.95534110069275"/>
                                        <LineSegment Point="2.65466785430908,2.14960050582886"/>
                                        <BezierSegment Point1="5.5844030380249,2.0080041885376" Point2="7.20274591445923,3.57988381385803" Point3="10.0115203857422,2.2107675075531"/>
                                        <BezierSegment Point1="11.7393894195557,1.36852860450745" Point2="15.138897895813,2.29763579368591" Point3="16.5382518768311,2.38410639762878"/>
                                    </PathFigure>
                                </PathGeometry>
                            </Path.Data>
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform X="1.4916732314436434" Y="-0.23907148924159571"/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path Margin="-1.25,0,0,-1" x:Name="Line" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <ContentPresenter
                              x:Name="contentPresenter"
                              Content="{TemplateBinding Content}"
                              ContentTemplate="{TemplateBinding ContentTemplate}"
                              RenderTransformOrigin="0.5,0.5" 
                            
                              HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" 
                              Margin="{TemplateBinding Padding}"
                              VerticalAlignment="{TemplateBinding VerticalContentAlignment}" 
                            >
                            <!--
                              FontFamily="Arial"
                              FontSize="11"
                              FontWeight="Bold"
                              FontStretch="{TemplateBinding FontStretch}"
                              FontStyle="{TemplateBinding FontStyle}"
                              Foreground="{TemplateBinding Foreground}"
                              Padding="{TemplateBinding Padding}"
                              TextDecorations="{TemplateBinding TextDecorations}"
                              TextWrapping="{TemplateBinding TextWrapping}"
                              TextAlignment="Center"
                              VerticalContentAlignment="Center"
                              HorizontalContentAlignment="Center"
                            
-->
                            <ContentPresenter.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </ContentPresenter.RenderTransform>
                        </ContentPresenter>
                        <Grid Margin="-0.185,-1.02,0.125,-0.375" x:Name="Noise" RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Grid Margin="2.625,3.625,0,0" x:Name="NoiseOne" Opacity="0">
                                <Path Height="2.018" HorizontalAlignment="Right" Margin="0,0,0.625,7.635" VerticalAlignment="Bottom" Width="6" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M58.25,17.625 C61.473705,16.819075 58.619175,15.871116 62,18.125 C62.438251,18.417168 63.276283,18.067675 63.75,18"/>
                                <Path HorizontalAlignment="Right" Margin="0,9.75,0.375,10.984" Width="7.625" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M56.265625,12.717266 C58.762352,14.039062 59.299107,14.252841 62.25,12.375 C62.36116,12.30426 62.504715,12.446218 62.625,12.5 C62.931671,12.637115 63.193027,12.863567 63.5,13 C63.576153,13.033845 63.673012,13.03189 63.75,13 C63.858879,12.954901 63.88221,12.746201 64,12.75"/>
                                <Path Height="2.971" HorizontalAlignment="Right" Margin="0,4.164,0,0" VerticalAlignment="Top" Width="7.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M57.375,7.75 C61.094475,7.75 59.169235,5.0442362 62.75,8.625 C63.768261,9.64326 62.873402,9.1565504 64.375,8.875"/>
                                <Path HorizontalAlignment="Right" Margin="0,0,0.375,2.947" Width="7.167" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M56.895832,11.943392 C59.392559,13.265187 59.299107,14.252841 62.25,12.375 C62.36116,12.30426 62.504715,12.446218 62.625,12.5 C62.931671,12.637115 63.193027,12.863567 63.5,13 C63.576153,13.033845 63.673012,13.03189 63.75,13 C63.858879,12.954901 63.88221,12.746201 64,12.75" Height="3.095" VerticalAlignment="Bottom"/>
                                <Path HorizontalAlignment="Right" Margin="0,0,0.375,0" Width="7.625" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M56.265625,12.717266 C58.762352,14.039062 59.299107,14.252841 62.25,12.375 C62.36116,12.30426 62.504715,12.446218 62.625,12.5 C62.931671,12.637115 63.193027,12.863567 63.5,13 C63.576153,13.033845 63.673012,13.03189 63.75,13 C63.858879,12.954901 63.88221,12.746201 64,12.75" Height="3.035" VerticalAlignment="Top"/>
                                <Path HorizontalAlignment="Right" Margin="0,7.035,0.625,0" Width="6" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M58.5,12.625 C60.996727,13.946795 59.299107,14.252841 62.25,12.375 C62.36116,12.30426 62.504715,12.446218 62.625,12.5 C62.931671,12.637115 63.193027,12.863567 63.5,13 C63.576153,13.033845 63.673012,13.03189 63.75,13 C63.858879,12.954901 63.88221,12.746201 64,12.75" Height="1.844" VerticalAlignment="Top"/>
                            </Grid>
                            <Grid Margin="0,0,2.625,3.625" x:Name="NoiseTwo" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Grid.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform Angle="-180"/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Grid.RenderTransform>
                                <Path Height="2.018" HorizontalAlignment="Right" Margin="0,0,0.25,7.635" VerticalAlignment="Bottom" Width="6" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M58.25,17.625 C61.473705,16.819075 58.619175,15.871116 62,18.125 C62.438251,18.417168 63.276283,18.067675 63.75,18"/>
                                <Path HorizontalAlignment="Right" Margin="0,9.75,0.375,10.984" Width="7.625" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M56.265625,12.717266 C58.762352,14.039062 59.299107,14.252841 62.25,12.375 C62.36116,12.30426 62.504715,12.446218 62.625,12.5 C62.931671,12.637115 63.193027,12.863567 63.5,13 C63.576153,13.033845 63.673012,13.03189 63.75,13 C63.858879,12.954901 63.88221,12.746201 64,12.75"/>
                                <Path Height="2.971" HorizontalAlignment="Right" Margin="0,4.164,0,0" VerticalAlignment="Top" Width="7.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M57.375,7.75 C61.094475,7.75 59.169235,5.0442362 62.75,8.625 C63.768261,9.64326 62.873402,9.1565504 64.375,8.875"/>
                                <Path HorizontalAlignment="Right" Margin="0,0,0.375,3.891" Width="6" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M58.5,12.625 C60.996727,13.946795 59.299107,14.252841 62.25,12.375 C62.36116,12.30426 62.504715,12.446218 62.625,12.5 C62.931671,12.637115 63.193027,12.863567 63.5,13 C63.576153,13.033845 63.673012,13.03189 63.75,13 C63.858879,12.954901 63.88221,12.746201 64,12.75" Height="1.844" VerticalAlignment="Bottom"/>
                                <Path HorizontalAlignment="Right" Margin="0,7.035,-0.315,0" Width="6.94" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M58.5,12.625 C60.996727,13.946795 59.299107,14.252841 62.25,12.375 C62.36116,12.30426 62.504715,12.446218 62.625,12.5 C62.931671,12.637115 63.193027,12.863567 63.5,13 C63.576153,13.033845 63.673012,13.03189 63.75,13 C63.858879,12.954901 65.174706,12.864925 65.292496,12.868725" Height="3" VerticalAlignment="Top"/>
                                <Path Height="2.018" HorizontalAlignment="Right" Margin="0,0,1.5,0" VerticalAlignment="Top" Width="6" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M58.25,17.625 C61.473705,16.819075 58.619175,15.871116 62,18.125 C62.438251,18.417168 63.276283,18.067675 63.75,18"/>
                                <Path HorizontalAlignment="Right" Margin="0,-3.299,2,0" Width="6" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M58.5,12.625 C60.996727,13.946795 59.299107,14.252841 62.25,12.375 C62.36116,12.30426 62.504715,12.446218 62.625,12.5 C62.931671,12.637115 63.193027,12.863567 63.5,13 C63.576153,13.033845 63.673012,13.03189 63.75,13 C63.858879,12.954901 63.88221,12.746201 64,12.75" Height="1.844" VerticalAlignment="Top"/>
                            </Grid>
                        </Grid>
                        <Path Margin="2.75,4.375,4,3.5" x:Name="FocusVisual" StrokeDashArray="1 2" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path Margin="-1.25,0,0,-1" x:Name="DisabledVisual" Stretch="Fill" Stroke="#B2FFFFFF" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z" Opacity="0" RenderTransformOrigin="0.5,0.5" Fill="#B2FFFFFF">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <!-- End:UI -->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--Thumb-->
    <Style TargetType="Thumb">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
                                    <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>

                        <!--Start UI-->
                        <Path Margin="-1.25,0,0,-1" x:Name="LineBack" Fill="#FFFFFFFF" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path HorizontalAlignment="Stretch" Stretch="Fill" Margin="1,2,5,2" x:Name="Background" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5" Fill="{TemplateBinding Background}" StrokeThickness="2">
                            <Path.Data>
                                <PathGeometry>
                                    <PathFigure IsClosed="True" StartPoint="55.3734893798828,18.3878383636475">
                                        <BezierSegment Point1="55.4575424194336,19.6423645019531" Point2="54.0918769836426,18.1212940216064" Point3="54.1759376525879,19.3758182525635"/>
                                        <BezierSegment Point1="54.1044921875,19.43869972229" Point2="54.1721153259277,19.5379447937012" Point3="54.101448059082,19.5246734619141"/>
                                        <BezierSegment Point1="53.697998046875,19.2345180511475" Point2="53.7027320861816,20.5981388092041" Point3="53.2657089233398,20.5459175109863"/>
                                        <LineSegment Point="54.9807624816895,20.2940578460693"/>
                                        <BezierSegment Point1="55.4915466308594,19.2132472991943" Point2="55.6735687255859,19.6681518554688" Point3="55.5702743530273,19.2230930328369"/>
                                        <LineSegment Point="55.3734893798828,18.3878383636475"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="2.75041627883911,4.18817186355591">
                                        <BezierSegment Point1="2.60941195487976,4.23498106002808" Point2="2.44556498527527,4.34848213195801" Point3="2.25126266479492,4.5509033203125"/>
                                        <BezierSegment Point1="1.95730113983154,3.90779161453247" Point2="1.66666030883789,5.07916784286499" Point3="1.46416211128235,5.60511302947998"/>
                                        <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                        <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                        <LineSegment Point="1.43954491615295,5.49028921127319"/>
                                        <BezierSegment Point1="1.46683251857758,5.47077798843384" Point2="1.34879219532013,5.18408298492432" Point3="1.2877790927887,5.220703125"/>
                                        <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                        <LineSegment Point="1.26432502269745,5.24535417556763"/>
                                        <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                        <LineSegment Point="1.26432502269745,5.59193277359009"/>
                                        <BezierSegment Point1="1.28229105472565,5.78759717941284" Point2="1.3096958398819,5.8595871925354" Point3="1.34388554096222,5.84831285476685"/>
                                        <LineSegment Point="1.46416211128235,5.60511302947998"/>
                                        <LineSegment Point="2.18957805633545,6.91105651855469"/>
                                        <BezierSegment Point1="4.89191150665283,6.34800672531128" Point2="3.10698843002319,8.09412384033203" Point3="4.9653377532959,5.38372611999512"/>
                                        <BezierSegment Point1="3.60521507263184,6.80067920684814" Point2="3.73745012283325,3.86050128936768" Point3="2.75041627883911,4.18817186355591"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="3.98743844032288,2.72233080863953">
                                        <BezierSegment Point1="3.87878394126892,2.65442371368408" Point2="3.73797965049744,2.68036603927612" Point3="3.53287696838379,2.89400577545166"/>
                                        <BezierSegment Point1="3.3777277469635,2.55462884902954" Point2="3.22433018684387,3.17277550697327" Point3="3.11745405197144,3.45032072067261"/>
                                        <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                        <LineSegment Point="3.02260160446167,3.27531266212463"/>
                                        <LineSegment Point="3.01198220252991,3.2604718208313"/>
                                        <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                        <LineSegment Point="3.01198220252991,3.44336438179016"/>
                                        <BezierSegment Point1="3.01268339157104,3.45099830627441" Point2="3.01341199874878,3.45827555656433" Point3="3.11745405197144,3.45032072067261"/>
                                        <LineSegment Point="3.50032067298889,4.13947582244873"/>
                                        <LineSegment Point="4.19300651550293,4.08932685852051"/>
                                        <BezierSegment Point1="4.57573270797729,4.15608644485474" Point2="4.22972536087036,4.40621519088745" Point3="4.9653377532959,3.33349204063416"/>
                                        <BezierSegment Point1="4.35003042221069,3.97440934181213" Point2="4.31340551376343,2.92605090141296" Point3="3.98743844032288,2.72233080863953"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="43.6054306030273,2.55744552612305">
                                        <LineSegment Point="42.7685508728027,3.07746315002441"/>
                                        <BezierSegment Point1="42.8401260375977,3.02574563026428" Point2="44.8010520935059,3.60871481895447" Point3="44.8063468933105,3.56444692611694"/>
                                        <LineSegment Point="47.3169860839844,3.1744339466095"/>
                                        <BezierSegment Point1="47.7981910705566,2.0477294921875" Point2="50.5490341186523,3.69445133209229" Point3="50.9364852905273,2.43774271011353"/>
                                        <LineSegment Point="46.9194679260254,2.11273193359375"/>
                                        <BezierSegment Point1="45.9232177734375,2.00986051559448" Point2="42.2318840026855,3.34697723388672" Point3="43.6054306030273,2.55744552612305"/>
                                    </PathFigure>
                                    <PathFigure IsClosed="True" StartPoint="16.5382518768311,2.38410639762878">
                                        <BezierSegment Point1="17.9376049041748,2.47057723999023" Point2="28.9235725402832,0.979193687438965" Point3="30.961519241333,1.25740206241608"/>
                                        <BezierSegment Point1="39.7206230163574,2.45314311981201" Point2="36.6131362915039,2.46526336669922" Point3="45.4653663635254,2.03742814064026"/>
                                        <BezierSegment Point1="48.1704330444336,1.90669059753418" Point2="53.7993202209473,2.94819211959839" Point3="56.5043983459473,2.81745433807373"/>
                                        <BezierSegment Point1="57.6275444030762,2.76317286491394" Point2="58.8492164611816,1.81751883029938" Point3="58.7605514526367,4.98419380187988"/>
                                        <BezierSegment Point1="58.6914901733398,7.45075988769531" Point2="59.2414894104004,7.46710634231567" Point3="59.1634330749512,9.40434169769287"/>
                                        <LineSegment Point="59.1302642822266,9.42093944549561"/>
                                        <BezierSegment Point1="58.9689521789551,9.46572589874268" Point2="58.8931922912598,9.64298820495605" Point3="58.9885597229004,10.0852022171021"/>
                                        <LineSegment Point="58.7547225952148,10.0751485824585"/>
                                        <BezierSegment Point1="58.7845993041992,10.1730222702026" Point2="59.0883674621582,10.4170408248901" Point3="59.129207611084,10.4465093612671"/>
                                        <LineSegment Point="58.9072380065918,10.2733154296875"/>
                                        <BezierSegment Point1="58.2435150146484,9.76523780822754" Point2="58.5282859802246,11.6655864715576" Point3="57.8627014160156,11.4802284240723"/>
                                        <BezierSegment Point1="57.8627014160156,11.4802284240723" Point2="58.1601409912109,13.5446062088013" Point3="58.357666015625,14.1711664199829"/>
                                        <BezierSegment Point1="58.9370613098145,16.0090198516846" Point2="58.3653373718262,16.4901638031006" Point3="58.357666015625,18.4179744720459"/>
                                        <BezierSegment Point1="58.3484077453613,20.745641708374" Point2="60.4300498962402,21.9203453063965" Point3="56.8666801452637,21.5362567901611"/>
                                        <BezierSegment Point1="45.6265144348145,20.32470703125" Point2="39.9008178710938,21.5664978027344" Point3="30.3169002532959,20.9313945770264"/>
                                        <BezierSegment Point1="24.7872543334961,20.5649566650391" Point2="17.0756797790527,21.3352470397949" Point3="11.5372772216797,21.6029224395752"/>
                                        <BezierSegment Point1="9.37526988983154,21.7074146270752" Point2="6.82023525238037,22.2953662872314" Point3="4.65164470672607,21.9357109069824"/>
                                        <BezierSegment Point1="1.45201742649078,21.4050598144531" Point2="1.73953628540039,23.0963401794434" Point3="1.51341998577118,17.1753234863281"/>
                                        <BezierSegment Point1="1.38521957397461,13.8183069229126" Point2="0.133225455880165,11.0509176254272" Point3="0.00502508180215955,7.6939001083374"/>
                                        <BezierSegment Point1="-0.0463196896016598,6.3494029045105" Point2="0.306805700063705,4.28786516189575" Point3="0.562162816524506,2.95534110069275"/>
                                        <LineSegment Point="2.65466785430908,2.14960050582886"/>
                                        <BezierSegment Point1="5.5844030380249,2.0080041885376" Point2="7.20274591445923,3.57988381385803" Point3="10.0115203857422,2.2107675075531"/>
                                        <BezierSegment Point1="11.7393894195557,1.36852860450745" Point2="15.138897895813,2.29763579368591" Point3="16.5382518768311,2.38410639762878"/>
                                    </PathFigure>
                                </PathGeometry>
                            </Path.Data>
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform X="1.4916732314436434" Y="-0.23907148924159571"/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path Margin="-1.25,0,0,-1" x:Name="Line" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path Margin="2.75,4.375,4,3.5" x:Name="FocusVisualElement" StrokeDashArray="1 2" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <Path Margin="-1.25,0,0,-1" x:Name="DisabledVisual" Stretch="Fill" Stroke="#B2FFFFFF" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z" Opacity="0" RenderTransformOrigin="0.5,0.5" Fill="#B2FFFFFF">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                        <!--End UI-->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--Slider-->
    <Style TargetType="Slider">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Slider">
                    <Grid x:Name="Root">
                        <Grid.Resources>
                            <ControlTemplate x:Key="RepeatButtonTemplate">
                                <Grid x:Name="Root" Opacity="0" Background="Transparent"/>
                            </ControlTemplate>
                        </Grid.Resources>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver"/>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Root" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0"/>
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Unfocused">
                                    <Storyboard/>
                                </VisualState>
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="HorizontalTemplate">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                            </Grid.ColumnDefinitions>
                            <Path Grid.Column="0" Grid.ColumnSpan="3" Height="4" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M18.75,122 C39.116455,122 60.341763,125.40137 80.75,122 C85.406425,121.22393 88.864746,120.25 94.25,120.25 C100.58633,120.25 106.7787,121.25 113,121.25 C118.82059,121.25 124.48981,123.30612 130.5,123.5" Stretch="Fill" Stroke="{StaticResource BorderBrush}" StrokeThickness="2" />
                            <Path Grid.Column="0" Grid.ColumnSpan="3" Height="6.5" StrokeThickness=".5" HorizontalAlignment="Center" Margin="20,0,15,0" VerticalAlignment="Center" Data="M23,125.25 C36.334629,122.89683 47.114662,121 60.75,121 C67,121 76,122.25 82.25,122.25 C88.080826,122.25 106.59772,120.31523 112.25,119.75" Stretch="Fill" Stroke="{StaticResource BorderBrush}"/>


                            <Track x:Name="PART_Track" Grid.Column="0" Grid.ColumnSpan="3">
                                <Track.Thumb>
                                    <Thumb Background="{TemplateBinding Background}" Height="20" Width="16" />
                                </Track.Thumb>
                                <Track.IncreaseRepeatButton>
                                    <RepeatButton IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Command="Slider.IncreaseLarge" />
                                </Track.IncreaseRepeatButton>
                                <Track.DecreaseRepeatButton>
                                    <RepeatButton IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Command="Slider.DecreaseLarge" />
                                </Track.DecreaseRepeatButton>
                            </Track>
                        </Grid>
                        <Grid x:Name="VerticalTemplate" Visibility="Collapsed">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Path Grid.Row="0" Grid.RowSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" Width="10" Data="M113,31 C113,70.161034 108.01472,114.58094 115,153 C120.63165,183.97409 108,213.89046 108,246" Stretch="Fill" Stroke="#FF000000" StrokeThickness="2" Grid.Column="0" Grid.ColumnSpan="3" />
                            <Path Grid.Row="0" Grid.RowSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" Width="5" Data="M111,57 C113.85657,84.613487 110.98022,105.44611 112,134 C113,162 106,163 114,216" Stretch="Fill" Stroke="#FF000000" StrokeThickness="1" Grid.Column="0" Grid.ColumnSpan="3" />
                            <RepeatButton x:Name="VerticalTrackLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="2"/>
                            <Thumb Background="{TemplateBinding Background}" Height="16" Width="20" x:Name="VerticalThumb" Grid.Row="1"/>
                            <RepeatButton x:Name="VerticalTrackLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="0"/>
                        </Grid>
                        <Rectangle x:Name="FocusVisual" Stroke="#FF999999" StrokeDashArray="1 2" StrokeThickness=".65" Opacity="1" StrokeDashCap="Square" IsHitTestVisible="false" Visibility="Collapsed" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--TextBox-->
    <Style TargetType="TextBox">
        <Setter Property="Background" Value="#FFFFFFFF"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}"/>
        <Setter Property="FontFamily" Value="Arial"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="TextBox">
                    <Grid x:Name="RootElement">
                        <Grid.Resources>
                            <Storyboard x:Key="Normal State">
                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Key="Focused State">
                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </Grid.Resources>

                        <Grid x:Name="Background">
                            <Path x:Name="Wiggles" StrokeThickness="2" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" Data="M0.66666669,0.83333331 C22.98843,0.83333331 17.999788,1.0007761 41.49995,1.5003691 C46.659081,1.6100477 78.647705,0.66666669 83.833336,0.66666669 C87.669823,0.66666669 91.711746,1.1313757 95.5,0.5 C101.84077,-0.55679578 99.333336,7.3401279 99.333336,17.666666 C99.333336,21.970675 101.8026,20.833334 93.166664,20.833334 C87.083107,20.833334 81.223564,20.838076 75.166664,20.333334 C64.167976,19.416775 52.892971,20.99983 41.833286,20.99983 C29.611065,20.99983 17.388889,20.166666 5.1666665,20.166666 C0.80628252,20.166666 0.83333331,24.179943 0.83333331,15.333333 C0.83333331,10.525309 1.2613385,5.5907078 0.66666669,0.83333331 z"/>
                            <Border x:Name="ContentElement" Margin="5,5,5,2">
                                <ScrollViewer BorderThickness="0" IsTabStop="False" Padding="{TemplateBinding Padding}" x:Name="PART_ContentHost" />
                            </Border>
                            <Path x:Name="FocusVisual" Opacity="0" StrokeThickness=".5" StrokeDashArray="1 2" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" Data="M0.66666669,0.83333331 C22.98843,0.83333331 17.999788,1.0007761 41.49995,1.5003691 C46.659081,1.6100477 78.647705,0.66666669 83.833336,0.66666669 C87.669823,0.66666669 91.711746,1.1313757 95.5,0.5 C101.84077,-0.55679578 99.333336,7.3401279 99.333336,17.666666 C99.333336,21.970675 101.8026,20.833334 93.166664,20.833334 C87.083107,20.833334 81.223564,20.838076 75.166664,20.333334 C64.167976,19.416775 52.892971,20.99983 41.833286,20.99983 C29.611065,20.99983 17.388889,20.166666 5.1666665,20.166666 C0.80628252,20.166666 0.83333331,24.179943 0.83333331,15.333333 C0.83333331,10.525309 1.2613385,5.5907078 0.66666669,0.83333331 z">
                                <Path.RenderTransform>
                                    <ScaleTransform ScaleX=".95" ScaleY=".6"/>
                                </Path.RenderTransform>
                            </Path>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--ListBox-->
    <Style TargetType="ListBox">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="Padding" Value="0"/>
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
        <Setter Property="ScrollViewer.CanContentScroll" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBox">
                    <Grid>
                        <Path Grid.Column="0" Grid.ColumnSpan="2" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M8.0486603,-1.7956065 C40.652985,-1.2334629 60.802299,5.3778448 94.571907,-3.8320472 C132.02231,-14.045796 175.82878,1 215,1 C278.08371,1 340.94531,1 405,1 C447.66666,1 488.54492,0.24040417 531.21155,0.24040417 C560.38153,0.24040417 624.77802,-6.8858747 639.86951,-0.77759421 C642.52252,0.29620132 639.86847,98.304474 639.86847,124.43706 C639.86847,190.61852 640.87457,264.57269 640.87457,330.07413 C640.87457,369.30386 637.85645,396.94827 637.85645,435.94669 C637.85645,441.81662 648.37085,477.30365 637.85669,479.72144 C615.7226,484.81128 553.33221,480.23886 538.25421,479.72162 C360.17755,473.61288 232.40511,488.88297 2,479 C4.0243306,313.78604 0,161.53839 0,3 C0.66666669,3 2.3515811,1.2584095 3.0182476,1.2584095 C3.0182476,0.59174258 8.0486603,-1.1289399 8.0486603,-1.7956065 z"/>
                        <ScrollViewer Margin="5" Foreground="{TemplateBinding Foreground}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" x:Name="ScrollViewer">
                            <ItemsPresenter />
                        </ScrollViewer>
                        <Path Grid.Column="0" Grid.ColumnSpan="2" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Margin="-0.094,0.769,0.799,-0.479" Data="M1.7206836,12.568695 C2.4419925,11.031993 1.4481189,7.3090796 1.7209258,5.6722374 C2.2648225,2.4088583 0.46910813,5.715632 5.1693902,3.7012255 C10.004368,1.6290923 20.664461,1.2662256 26,2.3333333 C36.24308,4.3819494 47.8027,3.6553195 58.131069,2.7163765 C68.803482,1.7461575 79.164429,1.9772166 89.908081,1.9772166 C100.39313,1.9772166 98,-0.96195835 98,16.333334 C98,23.112209 96.493988,25.349688 97.298027,31.782001 C98.258453,39.465462 97.476074,52.003723 97.29808,59.862312 C97.103302,68.46196 97.666664,74.564713 97.666664,83 C97.666664,108.95624 103.8933,92.074692 62.072483,97.302299 C52.738716,98.469017 39.806664,100.01 30.333334,99.333336 C22.81004,98.795952 7.3937144,97.694511 1.967056,97.548622 C-0.28294224,97.488136 1.5684019,88.452782 2.3333333,82.333336 C3.1227529,76.017975 2.5054271,71.237221 2,64.666664 C0.6911695,47.651871 3.9379203,29.072496 1.720971,12.568695"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--TreeView-->
    <Style TargetType="TreeView">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="TreeView">
                    <Grid>
                        <Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M8.0486603,-1.7956065 C40.652985,-1.2334629 60.802299,5.3778448 94.571907,-3.8320472 C132.02231,-14.045796 175.82878,1 215,1 C278.08371,1 340.94531,1 405,1 C447.66666,1 488.54492,0.24040417 531.21155,0.24040417 C560.38153,0.24040417 624.77802,-6.8858747 639.86951,-0.77759421 C642.52252,0.29620132 639.86847,98.304474 639.86847,124.43706 C639.86847,190.61852 640.87457,264.57269 640.87457,330.07413 C640.87457,369.30386 637.85645,396.94827 637.85645,435.94669 C637.85645,441.81662 648.37085,477.30365 637.85669,479.72144 C615.7226,484.81128 553.33221,480.23886 538.25421,479.72162 C360.17755,473.61288 232.40511,488.88297 2,479 C4.0243306,313.78604 0,161.53839 0,3 C0.66666669,3 2.3515811,1.2584095 3.0182476,1.2584095 C3.0182476,0.59174258 8.0486603,-1.1289399 8.0486603,-1.7956065 z"/>
                        <ScrollViewer Margin="5,10,5,5" Foreground="{TemplateBinding Foreground}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" x:Name="ScrollViewer">
                            <ItemsPresenter />
                        </ScrollViewer>
                        <Path Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Margin="-0.094,0.769,0.799,-0.479" Data="M1.7206836,12.568695 C2.4419925,11.031993 1.4481189,7.3090796 1.7209258,5.6722374 C2.2648225,2.4088583 0.46910813,5.715632 5.1693902,3.7012255 C10.004368,1.6290923 20.664461,1.2662256 26,2.3333333 C36.24308,4.3819494 47.8027,3.6553195 58.131069,2.7163765 C68.803482,1.7461575 79.164429,1.9772166 89.908081,1.9772166 C100.39313,1.9772166 98,-0.96195835 98,16.333334 C98,23.112209 96.493988,25.349688 97.298027,31.782001 C98.258453,39.465462 97.476074,52.003723 97.29808,59.862312 C97.103302,68.46196 97.666664,74.564713 97.666664,83 C97.666664,108.95624 103.8933,92.074692 62.072483,97.302299 C52.738716,98.469017 39.806664,100.01 30.333334,99.333336 C22.81004,98.795952 7.3937144,97.694511 1.967056,97.548622 C-0.28294224,97.488136 1.5684019,88.452782 2.3333333,82.333336 C3.1227529,76.017975 2.5054271,71.237221 2,64.666664 C0.6911695,47.651871 3.9379203,29.072496 1.720971,12.568695"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--ListboxItem-->
    <Style TargetType="ListBoxItem">
        <Setter Property="Background" Value="{StaticResource HoverBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="HorizontalContentAlignment" Value="Left" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <!--<Setter Property="TextAlignment" Value="Left" />
        <Setter Property="TextWrapping" Value="NoWrap" />-->
        <Setter Property="Padding" Value="10,0,0,0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBoxItem">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal" />
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="FillColor" Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="SelectionStates">
                                <VisualState x:Name="Unselected" />
                                <VisualState x:Name="Selected">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="StrokeColor" Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused" />
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>

                        <!--Start UI-->
                        <Path x:Name="FillColor" Opacity="0" Fill="{TemplateBinding Background}" Margin="1,0,-6.5,-2" Height="22" Stretch="Fill" StrokeThickness="1" Data="M0.5,4 C5.4921546,-1.2298763 6.7624655,0.25 16.25,0.25 C26.98455,0.25 37.771278,-0.14736003 48.5,0.25 C58.050766,0.60373205 67.126785,1.8436862 76.75,1.5 C81.214241,1.3405629 85.468109,1 90,1 C93.832878,1 95.48951,0.42107743 98.75,2.75 C103.03876,5.8134003 99,22.711088 99,29 C99,36.099834 99.578392,43.275311 99.25,50.5 C98.582687,65.180809 99.25,79.852791 99.25,94.5 C99.25,106.65568 72.737717,98.226776 56.5,99 C47.401512,99.433258 38.067318,99.75 29,99.75 C23.833334,99.75 18.666666,99.75 13.5,99.75 C11.25,99.75 9,99.75 6.75,99.75 C2.9788802,99.75 3.51701,102.43028 2,97.5 C0.044149127,91.143486 0.5,85.399605 0.5,78.5 C0.5,68.201317 -0.62925881,58.16333 0.5,48 C2.0587127,33.971584 0,18.959808 0,4.75 C0.13653865,4.6544228 0.34602007,4.8137808 0.5,4.75 C0.7177605,4.6598005 0.80388385,4.380744 1,4.25 C0.83333331,4.25 0.66666669,4.25 0.5,4.25 C0.5,4.1666665 0.5,4.0833335 0.5,4 z"/>
                        <Path x:Name="StrokeColor" Opacity="0" Stroke="{TemplateBinding BorderBrush}" Margin="1,0,-3.5,-2" Height="22" Stretch="Fill" StrokeThickness="1" Data="M0.5,4 C5.4921546,-1.2298763 6.7624655,0.25 16.25,0.25 C26.98455,0.25 37.771278,-0.14736003 48.5,0.25 C58.050766,0.60373205 67.126785,1.8436862 76.75,1.5 C81.214241,1.3405629 85.468109,1 90,1 C93.832878,1 95.48951,0.42107743 98.75,2.75 C103.03876,5.8134003 99,22.711088 99,29 C99,36.099834 99.578392,43.275311 99.25,50.5 C98.582687,65.180809 99.25,79.852791 99.25,94.5 C99.25,106.65568 72.737717,98.226776 56.5,99 C47.401512,99.433258 38.067318,99.75 29,99.75 C23.833334,99.75 18.666666,99.75 13.5,99.75 C11.25,99.75 9,99.75 6.75,99.75 C2.9788802,99.75 3.51701,102.43028 2,97.5 C0.044149127,91.143486 0.5,85.399605 0.5,78.5 C0.5,68.201317 -0.62925881,58.16333 0.5,48 C2.0587127,33.971584 0,18.959808 0,4.75 C0.13653865,4.6544228 0.34602007,4.8137808 0.5,4.75 C0.7177605,4.6598005 0.80388385,4.380744 1,4.25 C0.83333331,4.25 0.66666669,4.25 0.5,4.25 C0.5,4.1666665 0.5,4.0833335 0.5,4 z"/>

                        <ContentPresenter
                              HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                              VerticalAlignment="Center"
                              Margin="{TemplateBinding Padding}"                              
                            />
                        <!--
                              Content="{TemplateBinding Content}"
                              ContentTemplate="{TemplateBinding ContentTemplate}"
                              FontFamily="Arial"
                              FontSize="11"
                              FontStretch="{TemplateBinding FontStretch}"
                              FontStyle="{TemplateBinding FontStyle}"
                              FontWeight="Normal"
                              HorizontalAlignment="Left"
                              HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
                              Padding="{TemplateBinding Padding}"
                              TextAlignment="{TemplateBinding TextAlignment}"
                              TextDecorations="{TemplateBinding TextDecorations}"
                              TextWrapping="{TemplateBinding TextWrapping}"
                              VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
                              Foreground="{TemplateBinding Foreground}"/>
-->
                        <Path x:Name="FocusVisual" Height="21" Margin="2,0,.25,0" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness=".5" Visibility="Collapsed" Data="M0.5,4 C5.4921546,-1.2298763 6.7624655,0.25 16.25,0.25 C26.98455,0.25 37.771278,-0.14736003 48.5,0.25 C58.050766,0.60373205 67.126785,1.8436862 76.75,1.5 C81.214241,1.3405629 85.468109,1 90,1 C93.832878,1 95.48951,0.42107743 98.75,2.75 C103.03876,5.8134003 99,22.711088 99,29 C99,36.099834 99.578392,43.275311 99.25,50.5 C98.582687,65.180809 99.25,79.852791 99.25,94.5 C99.25,106.65568 72.737717,98.226776 56.5,99 C47.401512,99.433258 38.067318,99.75 29,99.75 C23.833334,99.75 18.666666,99.75 13.5,99.75 C11.25,99.75 9,99.75 6.75,99.75 C2.9788802,99.75 3.51701,102.43028 2,97.5 C0.044149127,91.143486 0.5,85.399605 0.5,78.5 C0.5,68.201317 -0.62925881,58.16333 0.5,48 C2.0587127,33.971584 0,18.959808 0,4.75 C0.13653865,4.6544228 0.34602007,4.8137808 0.5,4.75 C0.7177605,4.6598005 0.80388385,4.380744 1,4.25 C0.83333331,4.25 0.66666669,4.25 0.5,4.25 C0.5,4.1666665 0.5,4.0833335 0.5,4 z"/>
                        <!--End UI-->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--ScrollBar-->
    <Style TargetType="ScrollBar">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ScrollBar">
                    <Grid x:Name="Root">
                        <Grid.Resources>
                            <ControlTemplate x:Key="RepeatButtonTemplate" TargetType="RepeatButton">
                                <Grid x:Name="Root" Background="Transparent">
                                    <VisualStateManager.VisualStateGroups>
                                        <VisualStateGroup x:Name="CommonStates">
                                            <VisualState x:Name="Normal"/>
                                        </VisualStateGroup>
                                    </VisualStateManager.VisualStateGroups>
                                </Grid>
                            </ControlTemplate>

                            <!--I'm not using the repeat buttons and that's why these templates are empty-->
                            <ControlTemplate x:Key="HorizontalIncrementTemplate" TargetType="RepeatButton" />
                            <ControlTemplate x:Key="HorizontalDecrementTemplate" TargetType="RepeatButton" />
                            <ControlTemplate x:Key="VerticalIncrementTemplate" TargetType="RepeatButton" />
                            <ControlTemplate x:Key="VerticalDecrementTemplate" TargetType="RepeatButton" />

                            <!--Thumb templates-->
                            <ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb">
                                <Grid Margin="1,6,1,6">
                                    <VisualStateManager.VisualStateGroups>
                                        <VisualStateGroup x:Name="CommonStates">
                                            <VisualStateGroup.Transitions>
                                                <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
                                            </VisualStateGroup.Transitions>
                                            <VisualState x:Name="Normal"/>
                                            <VisualState x:Name="MouseOver">
                                                <Storyboard>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                </Storyboard>
                                            </VisualState>
                                            <VisualState x:Name="Pressed">
                                                <Storyboard>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                </Storyboard>
                                            </VisualState>
                                            <VisualState x:Name="Disabled">
                                                <Storyboard>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(UIElement.Opacity)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                </Storyboard>
                                            </VisualState>
                                        </VisualStateGroup>
                                    </VisualStateManager.VisualStateGroups>

                                    <!--Start UI-->
                                    <Path Margin="-1.25,0,0,4" x:Name="LineBack" Fill="#FFFFFFFF" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Path HorizontalAlignment="Stretch" Stretch="Fill" Margin="1,2,5,7" x:Name="Background" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5" Fill="{TemplateBinding Background}" StrokeThickness="2">
                                        <Path.Data>
                                            <PathGeometry>
                                                <PathFigure IsClosed="True" StartPoint="55.3734893798828,18.3878383636475">
                                                    <BezierSegment Point1="55.4575424194336,19.6423645019531" Point2="54.0918769836426,18.1212940216064" Point3="54.1759376525879,19.3758182525635"/>
                                                    <BezierSegment Point1="54.1044921875,19.43869972229" Point2="54.1721153259277,19.5379447937012" Point3="54.101448059082,19.5246734619141"/>
                                                    <BezierSegment Point1="53.697998046875,19.2345180511475" Point2="53.7027320861816,20.5981388092041" Point3="53.2657089233398,20.5459175109863"/>
                                                    <LineSegment Point="54.9807624816895,20.2940578460693"/>
                                                    <BezierSegment Point1="55.4915466308594,19.2132472991943" Point2="55.6735687255859,19.6681518554688" Point3="55.5702743530273,19.2230930328369"/>
                                                    <LineSegment Point="55.3734893798828,18.3878383636475"/>
                                                </PathFigure>
                                                <PathFigure IsClosed="True" StartPoint="2.75041627883911,4.18817186355591">
                                                    <BezierSegment Point1="2.60941195487976,4.23498106002808" Point2="2.44556498527527,4.34848213195801" Point3="2.25126266479492,4.5509033203125"/>
                                                    <BezierSegment Point1="1.95730113983154,3.90779161453247" Point2="1.66666030883789,5.07916784286499" Point3="1.46416211128235,5.60511302947998"/>
                                                    <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                                    <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                                    <LineSegment Point="1.43954491615295,5.49028921127319"/>
                                                    <BezierSegment Point1="1.46683251857758,5.47077798843384" Point2="1.34879219532013,5.18408298492432" Point3="1.2877790927887,5.220703125"/>
                                                    <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                                    <LineSegment Point="1.26432502269745,5.24535417556763"/>
                                                    <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                                    <LineSegment Point="1.26432502269745,5.59193277359009"/>
                                                    <BezierSegment Point1="1.28229105472565,5.78759717941284" Point2="1.3096958398819,5.8595871925354" Point3="1.34388554096222,5.84831285476685"/>
                                                    <LineSegment Point="1.46416211128235,5.60511302947998"/>
                                                    <LineSegment Point="2.18957805633545,6.91105651855469"/>
                                                    <BezierSegment Point1="4.89191150665283,6.34800672531128" Point2="3.10698843002319,8.09412384033203" Point3="4.9653377532959,5.38372611999512"/>
                                                    <BezierSegment Point1="3.60521507263184,6.80067920684814" Point2="3.73745012283325,3.86050128936768" Point3="2.75041627883911,4.18817186355591"/>
                                                </PathFigure>
                                                <PathFigure IsClosed="True" StartPoint="3.98743844032288,2.72233080863953">
                                                    <BezierSegment Point1="3.87878394126892,2.65442371368408" Point2="3.73797965049744,2.68036603927612" Point3="3.53287696838379,2.89400577545166"/>
                                                    <BezierSegment Point1="3.3777277469635,2.55462884902954" Point2="3.22433018684387,3.17277550697327" Point3="3.11745405197144,3.45032072067261"/>
                                                    <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                                    <LineSegment Point="3.02260160446167,3.27531266212463"/>
                                                    <LineSegment Point="3.01198220252991,3.2604718208313"/>
                                                    <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                                    <LineSegment Point="3.01198220252991,3.44336438179016"/>
                                                    <BezierSegment Point1="3.01268339157104,3.45099830627441" Point2="3.01341199874878,3.45827555656433" Point3="3.11745405197144,3.45032072067261"/>
                                                    <LineSegment Point="3.50032067298889,4.13947582244873"/>
                                                    <LineSegment Point="4.19300651550293,4.08932685852051"/>
                                                    <BezierSegment Point1="4.57573270797729,4.15608644485474" Point2="4.22972536087036,4.40621519088745" Point3="4.9653377532959,3.33349204063416"/>
                                                    <BezierSegment Point1="4.35003042221069,3.97440934181213" Point2="4.31340551376343,2.92605090141296" Point3="3.98743844032288,2.72233080863953"/>
                                                </PathFigure>
                                                <PathFigure IsClosed="True" StartPoint="43.6054306030273,2.55744552612305">
                                                    <LineSegment Point="42.7685508728027,3.07746315002441"/>
                                                    <BezierSegment Point1="42.8401260375977,3.02574563026428" Point2="44.8010520935059,3.60871481895447" Point3="44.8063468933105,3.56444692611694"/>
                                                    <LineSegment Point="47.3169860839844,3.1744339466095"/>
                                                    <BezierSegment Point1="47.7981910705566,2.0477294921875" Point2="50.5490341186523,3.69445133209229" Point3="50.9364852905273,2.43774271011353"/>
                                                    <LineSegment Point="46.9194679260254,2.11273193359375"/>
                                                    <BezierSegment Point1="45.9232177734375,2.00986051559448" Point2="42.2318840026855,3.34697723388672" Point3="43.6054306030273,2.55744552612305"/>
                                                </PathFigure>
                                                <PathFigure IsClosed="True" StartPoint="16.5382518768311,2.38410639762878">
                                                    <BezierSegment Point1="17.9376049041748,2.47057723999023" Point2="28.9235725402832,0.979193687438965" Point3="30.961519241333,1.25740206241608"/>
                                                    <BezierSegment Point1="39.7206230163574,2.45314311981201" Point2="36.6131362915039,2.46526336669922" Point3="45.4653663635254,2.03742814064026"/>
                                                    <BezierSegment Point1="48.1704330444336,1.90669059753418" Point2="53.7993202209473,2.94819211959839" Point3="56.5043983459473,2.81745433807373"/>
                                                    <BezierSegment Point1="57.6275444030762,2.76317286491394" Point2="58.8492164611816,1.81751883029938" Point3="58.7605514526367,4.98419380187988"/>
                                                    <BezierSegment Point1="58.6914901733398,7.45075988769531" Point2="59.2414894104004,7.46710634231567" Point3="59.1634330749512,9.40434169769287"/>
                                                    <LineSegment Point="59.1302642822266,9.42093944549561"/>
                                                    <BezierSegment Point1="58.9689521789551,9.46572589874268" Point2="58.8931922912598,9.64298820495605" Point3="58.9885597229004,10.0852022171021"/>
                                                    <LineSegment Point="58.7547225952148,10.0751485824585"/>
                                                    <BezierSegment Point1="58.7845993041992,10.1730222702026" Point2="59.0883674621582,10.4170408248901" Point3="59.129207611084,10.4465093612671"/>
                                                    <LineSegment Point="58.9072380065918,10.2733154296875"/>
                                                    <BezierSegment Point1="58.2435150146484,9.76523780822754" Point2="58.5282859802246,11.6655864715576" Point3="57.8627014160156,11.4802284240723"/>
                                                    <BezierSegment Point1="57.8627014160156,11.4802284240723" Point2="58.1601409912109,13.5446062088013" Point3="58.357666015625,14.1711664199829"/>
                                                    <BezierSegment Point1="58.9370613098145,16.0090198516846" Point2="58.3653373718262,16.4901638031006" Point3="58.357666015625,18.4179744720459"/>
                                                    <BezierSegment Point1="58.3484077453613,20.745641708374" Point2="60.4300498962402,21.9203453063965" Point3="56.8666801452637,21.5362567901611"/>
                                                    <BezierSegment Point1="45.6265144348145,20.32470703125" Point2="39.9008178710938,21.5664978027344" Point3="30.3169002532959,20.9313945770264"/>
                                                    <BezierSegment Point1="24.7872543334961,20.5649566650391" Point2="17.0756797790527,21.3352470397949" Point3="11.5372772216797,21.6029224395752"/>
                                                    <BezierSegment Point1="9.37526988983154,21.7074146270752" Point2="6.82023525238037,22.2953662872314" Point3="4.65164470672607,21.9357109069824"/>
                                                    <BezierSegment Point1="1.45201742649078,21.4050598144531" Point2="1.73953628540039,23.0963401794434" Point3="1.51341998577118,17.1753234863281"/>
                                                    <BezierSegment Point1="1.38521957397461,13.8183069229126" Point2="0.133225455880165,11.0509176254272" Point3="0.00502508180215955,7.6939001083374"/>
                                                    <BezierSegment Point1="-0.0463196896016598,6.3494029045105" Point2="0.306805700063705,4.28786516189575" Point3="0.562162816524506,2.95534110069275"/>
                                                    <LineSegment Point="2.65466785430908,2.14960050582886"/>
                                                    <BezierSegment Point1="5.5844030380249,2.0080041885376" Point2="7.20274591445923,3.57988381385803" Point3="10.0115203857422,2.2107675075531"/>
                                                    <BezierSegment Point1="11.7393894195557,1.36852860450745" Point2="15.138897895813,2.29763579368591" Point3="16.5382518768311,2.38410639762878"/>
                                                </PathFigure>
                                            </PathGeometry>
                                        </Path.Data>
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform X="1.4916732314436434" Y="-0.23907148924159571"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Path Margin="-1.25,0,0,4" x:Name="Line" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Path Margin="2.75,4.375,4,8.5" x:Name="FocusVisualElement" StrokeDashArray="1 2" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Path Margin="-1.25,0,0,4" x:Name="DisabledOverlay" Stretch="Fill" Stroke="#B2FFFFFF" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z" Opacity="0" RenderTransformOrigin="0.5,0.5" Fill="#B2FFFFFF">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <!--End UI-->
                                </Grid>
                            </ControlTemplate>
                            <ControlTemplate x:Key="HorizontalThumbTemplate" TargetType="Thumb">
                                <Grid Margin="6,1,6,1">
                                    <VisualStateManager.VisualStateGroups>
                                        <VisualStateGroup x:Name="CommonStates">
                                            <VisualStateGroup.Transitions>
                                                <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
                                            </VisualStateGroup.Transitions>
                                            <VisualState x:Name="Normal"/>
                                            <VisualState x:Name="MouseOver">
                                                <Storyboard>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                </Storyboard>
                                            </VisualState>
                                            <VisualState x:Name="Pressed">
                                                <Storyboard>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Line" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LineBack" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.075"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                </Storyboard>
                                            </VisualState>
                                            <VisualState x:Name="Disabled">
                                                <Storyboard>
                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(UIElement.Opacity)" BeginTime="00:00:00" Duration="00:00:00.0010000">
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                                    </DoubleAnimationUsingKeyFrames>
                                                </Storyboard>
                                            </VisualState>
                                        </VisualStateGroup>
                                    </VisualStateManager.VisualStateGroups>

                                    <!--Start UI-->
                                    <Path Margin="-1.25,0,5,-1" x:Name="LineBack" Fill="#FFFFFFFF" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Path HorizontalAlignment="Stretch" Stretch="Fill" Margin="1,2,10,2" x:Name="Background" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5" Fill="{TemplateBinding Background}" StrokeThickness="2">
                                        <Path.Data>
                                            <PathGeometry>
                                                <PathFigure IsClosed="True" StartPoint="55.3734893798828,18.3878383636475">
                                                    <BezierSegment Point1="55.4575424194336,19.6423645019531" Point2="54.0918769836426,18.1212940216064" Point3="54.1759376525879,19.3758182525635"/>
                                                    <BezierSegment Point1="54.1044921875,19.43869972229" Point2="54.1721153259277,19.5379447937012" Point3="54.101448059082,19.5246734619141"/>
                                                    <BezierSegment Point1="53.697998046875,19.2345180511475" Point2="53.7027320861816,20.5981388092041" Point3="53.2657089233398,20.5459175109863"/>
                                                    <LineSegment Point="54.9807624816895,20.2940578460693"/>
                                                    <BezierSegment Point1="55.4915466308594,19.2132472991943" Point2="55.6735687255859,19.6681518554688" Point3="55.5702743530273,19.2230930328369"/>
                                                    <LineSegment Point="55.3734893798828,18.3878383636475"/>
                                                </PathFigure>
                                                <PathFigure IsClosed="True" StartPoint="2.75041627883911,4.18817186355591">
                                                    <BezierSegment Point1="2.60941195487976,4.23498106002808" Point2="2.44556498527527,4.34848213195801" Point3="2.25126266479492,4.5509033203125"/>
                                                    <BezierSegment Point1="1.95730113983154,3.90779161453247" Point2="1.66666030883789,5.07916784286499" Point3="1.46416211128235,5.60511302947998"/>
                                                    <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                                    <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                                    <LineSegment Point="1.43954491615295,5.49028921127319"/>
                                                    <BezierSegment Point1="1.46683251857758,5.47077798843384" Point2="1.34879219532013,5.18408298492432" Point3="1.2877790927887,5.220703125"/>
                                                    <LineSegment Point="1.2844455242157,5.27347755432129"/>
                                                    <LineSegment Point="1.26432502269745,5.24535417556763"/>
                                                    <LineSegment Point="1.28398549556732,5.28074789047241"/>
                                                    <LineSegment Point="1.26432502269745,5.59193277359009"/>
                                                    <BezierSegment Point1="1.28229105472565,5.78759717941284" Point2="1.3096958398819,5.8595871925354" Point3="1.34388554096222,5.84831285476685"/>
                                                    <LineSegment Point="1.46416211128235,5.60511302947998"/>
                                                    <LineSegment Point="2.18957805633545,6.91105651855469"/>
                                                    <BezierSegment Point1="4.89191150665283,6.34800672531128" Point2="3.10698843002319,8.09412384033203" Point3="4.9653377532959,5.38372611999512"/>
                                                    <BezierSegment Point1="3.60521507263184,6.80067920684814" Point2="3.73745012283325,3.86050128936768" Point3="2.75041627883911,4.18817186355591"/>
                                                </PathFigure>
                                                <PathFigure IsClosed="True" StartPoint="3.98743844032288,2.72233080863953">
                                                    <BezierSegment Point1="3.87878394126892,2.65442371368408" Point2="3.73797965049744,2.68036603927612" Point3="3.53287696838379,2.89400577545166"/>
                                                    <BezierSegment Point1="3.3777277469635,2.55462884902954" Point2="3.22433018684387,3.17277550697327" Point3="3.11745405197144,3.45032072067261"/>
                                                    <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                                    <LineSegment Point="3.02260160446167,3.27531266212463"/>
                                                    <LineSegment Point="3.01198220252991,3.2604718208313"/>
                                                    <LineSegment Point="3.02235960960388,3.27914905548096"/>
                                                    <LineSegment Point="3.01198220252991,3.44336438179016"/>
                                                    <BezierSegment Point1="3.01268339157104,3.45099830627441" Point2="3.01341199874878,3.45827555656433" Point3="3.11745405197144,3.45032072067261"/>
                                                    <LineSegment Point="3.50032067298889,4.13947582244873"/>
                                                    <LineSegment Point="4.19300651550293,4.08932685852051"/>
                                                    <BezierSegment Point1="4.57573270797729,4.15608644485474" Point2="4.22972536087036,4.40621519088745" Point3="4.9653377532959,3.33349204063416"/>
                                                    <BezierSegment Point1="4.35003042221069,3.97440934181213" Point2="4.31340551376343,2.92605090141296" Point3="3.98743844032288,2.72233080863953"/>
                                                </PathFigure>
                                                <PathFigure IsClosed="True" StartPoint="43.6054306030273,2.55744552612305">
                                                    <LineSegment Point="42.7685508728027,3.07746315002441"/>
                                                    <BezierSegment Point1="42.8401260375977,3.02574563026428" Point2="44.8010520935059,3.60871481895447" Point3="44.8063468933105,3.56444692611694"/>
                                                    <LineSegment Point="47.3169860839844,3.1744339466095"/>
                                                    <BezierSegment Point1="47.7981910705566,2.0477294921875" Point2="50.5490341186523,3.69445133209229" Point3="50.9364852905273,2.43774271011353"/>
                                                    <LineSegment Point="46.9194679260254,2.11273193359375"/>
                                                    <BezierSegment Point1="45.9232177734375,2.00986051559448" Point2="42.2318840026855,3.34697723388672" Point3="43.6054306030273,2.55744552612305"/>
                                                </PathFigure>
                                                <PathFigure IsClosed="True" StartPoint="16.5382518768311,2.38410639762878">
                                                    <BezierSegment Point1="17.9376049041748,2.47057723999023" Point2="28.9235725402832,0.979193687438965" Point3="30.961519241333,1.25740206241608"/>
                                                    <BezierSegment Point1="39.7206230163574,2.45314311981201" Point2="36.6131362915039,2.46526336669922" Point3="45.4653663635254,2.03742814064026"/>
                                                    <BezierSegment Point1="48.1704330444336,1.90669059753418" Point2="53.7993202209473,2.94819211959839" Point3="56.5043983459473,2.81745433807373"/>
                                                    <BezierSegment Point1="57.6275444030762,2.76317286491394" Point2="58.8492164611816,1.81751883029938" Point3="58.7605514526367,4.98419380187988"/>
                                                    <BezierSegment Point1="58.6914901733398,7.45075988769531" Point2="59.2414894104004,7.46710634231567" Point3="59.1634330749512,9.40434169769287"/>
                                                    <LineSegment Point="59.1302642822266,9.42093944549561"/>
                                                    <BezierSegment Point1="58.9689521789551,9.46572589874268" Point2="58.8931922912598,9.64298820495605" Point3="58.9885597229004,10.0852022171021"/>
                                                    <LineSegment Point="58.7547225952148,10.0751485824585"/>
                                                    <BezierSegment Point1="58.7845993041992,10.1730222702026" Point2="59.0883674621582,10.4170408248901" Point3="59.129207611084,10.4465093612671"/>
                                                    <LineSegment Point="58.9072380065918,10.2733154296875"/>
                                                    <BezierSegment Point1="58.2435150146484,9.76523780822754" Point2="58.5282859802246,11.6655864715576" Point3="57.8627014160156,11.4802284240723"/>
                                                    <BezierSegment Point1="57.8627014160156,11.4802284240723" Point2="58.1601409912109,13.5446062088013" Point3="58.357666015625,14.1711664199829"/>
                                                    <BezierSegment Point1="58.9370613098145,16.0090198516846" Point2="58.3653373718262,16.4901638031006" Point3="58.357666015625,18.4179744720459"/>
                                                    <BezierSegment Point1="58.3484077453613,20.745641708374" Point2="60.4300498962402,21.9203453063965" Point3="56.8666801452637,21.5362567901611"/>
                                                    <BezierSegment Point1="45.6265144348145,20.32470703125" Point2="39.9008178710938,21.5664978027344" Point3="30.3169002532959,20.9313945770264"/>
                                                    <BezierSegment Point1="24.7872543334961,20.5649566650391" Point2="17.0756797790527,21.3352470397949" Point3="11.5372772216797,21.6029224395752"/>
                                                    <BezierSegment Point1="9.37526988983154,21.7074146270752" Point2="6.82023525238037,22.2953662872314" Point3="4.65164470672607,21.9357109069824"/>
                                                    <BezierSegment Point1="1.45201742649078,21.4050598144531" Point2="1.73953628540039,23.0963401794434" Point3="1.51341998577118,17.1753234863281"/>
                                                    <BezierSegment Point1="1.38521957397461,13.8183069229126" Point2="0.133225455880165,11.0509176254272" Point3="0.00502508180215955,7.6939001083374"/>
                                                    <BezierSegment Point1="-0.0463196896016598,6.3494029045105" Point2="0.306805700063705,4.28786516189575" Point3="0.562162816524506,2.95534110069275"/>
                                                    <LineSegment Point="2.65466785430908,2.14960050582886"/>
                                                    <BezierSegment Point1="5.5844030380249,2.0080041885376" Point2="7.20274591445923,3.57988381385803" Point3="10.0115203857422,2.2107675075531"/>
                                                    <BezierSegment Point1="11.7393894195557,1.36852860450745" Point2="15.138897895813,2.29763579368591" Point3="16.5382518768311,2.38410639762878"/>
                                                </PathFigure>
                                            </PathGeometry>
                                        </Path.Data>
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform X="1.4916732314436434" Y="-0.23907148924159571"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Path Margin="-1.25,0,5,-1" x:Name="Line" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Path Margin="2.75,4.375,9,3.5" x:Name="FocusVisualElement" StrokeDashArray="1 2" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Path Margin="-1.25,0,5,-1" x:Name="DisabledOverlay" Stretch="Fill" Stroke="#B2FFFFFF" StrokeThickness="2" Data="M0.86650187,0.69540656 C9.839016,1.5543122E-15 19.298248,0 28.666666,0 C34.111111,0 39.555557,0 45,0 C49.827866,0 54.697731,1.1666666 59.333332,1.1666666 C64.324516,1.1666666 69.205429,0.91472858 74.166664,0.66666669 C76.631264,0.54343694 79.333336,-1.1676883 79.333336,3.8333333 C79.333336,11.344878 79,19.153017 79,26.666666 C79,30.484423 77.184448,30.447409 70.5,29.333334 C63.711517,28.20192 56.572155,29.121061 49.666668,28.833334 C39.880856,28.425591 30.177942,31.056808 20.666666,30 C16.043324,29.486296 11.5665,30.340723 7,29.833334 C4.1721892,29.519133 4.3808351,30.563976 2,28 C0.43954825,26.319513 1.6226629,23.586496 0,22.166666 C-2.3480425,20.112129 -0.66666669,14.317116 -0.66666669,10.833333 C-0.66666669,7.1040154 -0.31854713,1.2169615 0.86650187,0.69540656 z" Opacity="0" RenderTransformOrigin="0.5,0.5" Fill="#B2FFFFFF">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <!--End UI-->
                                </Grid>
                            </ControlTemplate>
                        </Grid.Resources>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver"/>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Root" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="HorizontalRoot" Visibility="Collapsed">
                            <Grid.RowDefinitions>
                                <RowDefinition/>
                                <RowDefinition/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>

                            <!--Start: Track-->
                            <Rectangle Grid.RowSpan="2" Grid.ColumnSpan="5" Fill="#FFFFFFFF"/>
                            <Rectangle Grid.RowSpan="2" Grid.ColumnSpan="5" Fill="#FFFFFFFF"/>
                            <Path Grid.RowSpan="2" Grid.ColumnSpan="5" Margin="4,0,4,0" Height="5" Fill="{TemplateBinding Background}" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" Data="M2.5,10.75 C10.769531,9.6713657 20.250107,9.2501192 28.25,10.25 C38.895863,11.580592 50.207603,10.5 61.25,10.5 C70.336395,10.5 75.250519,8.7502098 90.750267,10.000045 C90.961433,10.017073 101.80408,11.999342 96.5,12 C95.750412,12.000093 79.953804,11.344656 73.75,11 C65.415443,10.536969 57.345238,12 49,12 C33.191448,12 17.421957,12.5 1.75,12.5 C2.0833333,12.25 2.4166667,12 2.75,11.75 C2.6972954,11.64459 2.4882734,11.617267 2.5,11.5 C2.5185413,11.314586 2.2201519,11.183933 2.25,11 C2.2688777,10.883671 2.5785825,10.837828 2.5,10.75 z"/>
                            <!--End: Track-->

                            <RepeatButton x:Name="HorizontalSmallDecrease" Width="0" IsTabStop="False" Template="{StaticResource HorizontalDecrementTemplate}" Grid.Column="0" Grid.RowSpan="2" Interval="50"/>
                            <RepeatButton x:Name="HorizontalLargeDecrease" Width="0" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="1" Grid.RowSpan="2" Interval="50"/>
                            <Thumb MinWidth="30" x:Name="HorizontalThumb" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Width="30" Template="{StaticResource HorizontalThumbTemplate}" Grid.Column="2" Grid.RowSpan="2"/>
                            <RepeatButton x:Name="HorizontalLargeIncrease" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="3" Grid.RowSpan="2" Interval="50"/>
                            <RepeatButton x:Name="HorizontalSmallIncrease" Width="0" IsTabStop="False" Template="{StaticResource HorizontalIncrementTemplate}" Grid.Column="4" Grid.RowSpan="2" Interval="50"/>
                        </Grid>
                        <Grid x:Name="VerticalRoot" Visibility="Visible">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition/>
                                <ColumnDefinition/>
                            </Grid.ColumnDefinitions>

                            <!--Start: Track-->
                            <Rectangle Grid.RowSpan="5" Grid.ColumnSpan="2" Fill="#FFFFFFFF"/>
                            <Rectangle Grid.RowSpan="5" Grid.ColumnSpan="2" Fill="#FFFFFFFF"/>
                            <Path Grid.RowSpan="5" Grid.ColumnSpan="2" Width="5" Fill="{TemplateBinding Background}" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" Margin="0,4,0,4" Data="M10.75,1.75 C10.75,12.649285 10.25,23.720615 10.25,34.75 C10.25,50.941807 9.5,67.320854 9.5,83.75 C11.158469,84.223846 8.75,90.980972 8.75,94.25 C8.75,95.54538 8.4319277,97.227707 8.75,98.5 C8.82022,98.780884 11.25,101.93609 11.25,99.25 C11.25,88.213257 12,77.355553 12,66.25 C12,51.455677 13,37.040787 13,22.25 C13,16.22773 13.5,10.253379 13.5,4.25 C13.5,0.27270243 13.181593,2.7098393 10.75,1.75 z"/>
                            <!--End: Track-->

                            <RepeatButton Height="0" x:Name="VerticalSmallDecrease" IsTabStop="False" Template="{StaticResource VerticalDecrementTemplate}" Grid.ColumnSpan="2" Grid.Row="0" Interval="50"/>

                            <Track Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Grid.RowSpan="5" x:Name="PART_Track" Orientation="Vertical" IsDirectionReversed="true">
                                <Track.Thumb>
                                    <Thumb Height="30" x:Name="VerticalThumb" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" Template="{StaticResource VerticalThumbTemplate}"/>
                                </Track.Thumb>
                                <Track.IncreaseRepeatButton>
                                    <RepeatButton IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Command="ScrollBar.PageDownCommand" Interval="50" />
                                </Track.IncreaseRepeatButton>
                                <Track.DecreaseRepeatButton>
                                    <RepeatButton IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Command="ScrollBar.PageUpCommand" Interval="50" />
                                </Track.DecreaseRepeatButton>
                            </Track>

                            <RepeatButton Height="0" x:Name="VerticalSmallIncrease" IsTabStop="False" Template="{StaticResource VerticalIncrementTemplate}" Grid.ColumnSpan="2" Grid.Row="4" Interval="50"/>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--ScrollViewer-->
    <Style TargetType="ScrollViewer">
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="Cursor" Value="Arrow"/>
        <!--<Setter Property="TextAlignment" Value="Left"/>
        <Setter Property="TextWrapping" Value="Wrap"/>-->
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ScrollViewer">
                    <Grid Margin="4" Background="#FFFFFFFF">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <ScrollContentPresenter  
									    x:Name="ScrollContentPresenter" 
									    Grid.Column="0" 
									    Grid.Row="0" 
									    Cursor="{TemplateBinding Cursor}"
									    Content="{TemplateBinding Content}" 
									    ContentTemplate="{TemplateBinding ContentTemplate}" />
                        <!--
                                        Background="#FFFFFFFF" 
									    FontFamily="Verdana" 
									    FontSize="11"
									    HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" 
									    VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" 
									    TextAlignment="{TemplateBinding TextAlignment}" 
									    TextWrapping="{TemplateBinding TextWrapping}"/>
-->
                        <ScrollBar Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Cursor="Arrow" x:Name="PART_VerticalScrollBar" Width="18" 
                                        Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" 
                                        Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{TemplateBinding VerticalOffset}" 
                                        Orientation="Vertical" ViewportSize="{TemplateBinding ViewportHeight}" 
                                        />
                        <ScrollBar Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Cursor="Arrow" Height="18" 
                                        x:Name="PART_HorizontalScrollBar" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" 
                                        Grid.Column="0" Grid.Row="1" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" 
                                        Value="{TemplateBinding HorizontalOffset}" Orientation="Horizontal" 
                                        ViewportSize="{TemplateBinding ViewportWidth}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--ComboBoxItem-->
    <Style TargetType="ComboBoxItem">
        <Setter Property="Background" Value="{StaticResource HoverBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="HorizontalContentAlignment" Value="Left" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <!--<Setter Property="TextAlignment" Value="Left" />
        <Setter Property="TextWrapping" Value="NoWrap" />-->
        <Setter Property="Padding" Value="10,0,0,0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ComboBoxItem">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal" />
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="FillColor" Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="SelectionStates">
                                <VisualState x:Name="Unselected" />
                                <VisualState x:Name="Selected">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="StrokeColor" Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused" />
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>

                        <!--Start UI-->
                        <Path x:Name="FillColor" Opacity="0" Fill="{TemplateBinding Background}" Margin="1,0,-6.5,-2" Height="22" Stretch="Fill" StrokeThickness="1" Data="M0.5,4 C5.4921546,-1.2298763 6.7624655,0.25 16.25,0.25 C26.98455,0.25 37.771278,-0.14736003 48.5,0.25 C58.050766,0.60373205 67.126785,1.8436862 76.75,1.5 C81.214241,1.3405629 85.468109,1 90,1 C93.832878,1 95.48951,0.42107743 98.75,2.75 C103.03876,5.8134003 99,22.711088 99,29 C99,36.099834 99.578392,43.275311 99.25,50.5 C98.582687,65.180809 99.25,79.852791 99.25,94.5 C99.25,106.65568 72.737717,98.226776 56.5,99 C47.401512,99.433258 38.067318,99.75 29,99.75 C23.833334,99.75 18.666666,99.75 13.5,99.75 C11.25,99.75 9,99.75 6.75,99.75 C2.9788802,99.75 3.51701,102.43028 2,97.5 C0.044149127,91.143486 0.5,85.399605 0.5,78.5 C0.5,68.201317 -0.62925881,58.16333 0.5,48 C2.0587127,33.971584 0,18.959808 0,4.75 C0.13653865,4.6544228 0.34602007,4.8137808 0.5,4.75 C0.7177605,4.6598005 0.80388385,4.380744 1,4.25 C0.83333331,4.25 0.66666669,4.25 0.5,4.25 C0.5,4.1666665 0.5,4.0833335 0.5,4 z"/>
                        <Path x:Name="StrokeColor" Opacity="0" Stroke="{TemplateBinding BorderBrush}" Margin="1,0,-3.5,-2" Height="22" Stretch="Fill" StrokeThickness="1" Data="M0.5,4 C5.4921546,-1.2298763 6.7624655,0.25 16.25,0.25 C26.98455,0.25 37.771278,-0.14736003 48.5,0.25 C58.050766,0.60373205 67.126785,1.8436862 76.75,1.5 C81.214241,1.3405629 85.468109,1 90,1 C93.832878,1 95.48951,0.42107743 98.75,2.75 C103.03876,5.8134003 99,22.711088 99,29 C99,36.099834 99.578392,43.275311 99.25,50.5 C98.582687,65.180809 99.25,79.852791 99.25,94.5 C99.25,106.65568 72.737717,98.226776 56.5,99 C47.401512,99.433258 38.067318,99.75 29,99.75 C23.833334,99.75 18.666666,99.75 13.5,99.75 C11.25,99.75 9,99.75 6.75,99.75 C2.9788802,99.75 3.51701,102.43028 2,97.5 C0.044149127,91.143486 0.5,85.399605 0.5,78.5 C0.5,68.201317 -0.62925881,58.16333 0.5,48 C2.0587127,33.971584 0,18.959808 0,4.75 C0.13653865,4.6544228 0.34602007,4.8137808 0.5,4.75 C0.7177605,4.6598005 0.80388385,4.380744 1,4.25 C0.83333331,4.25 0.66666669,4.25 0.5,4.25 C0.5,4.1666665 0.5,4.0833335 0.5,4 z"/>

                        <ContentPresenter
                              HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                              VerticalAlignment="Center"
                              Margin="{TemplateBinding Padding}"                              
                            />
                        <!--
                              Content="{TemplateBinding Content}"
                              ContentTemplate="{TemplateBinding ContentTemplate}"
                              FontFamily="Arial"
                              FontSize="11"
                              FontStretch="{TemplateBinding FontStretch}"
                              FontStyle="{TemplateBinding FontStyle}"
                              FontWeight="Normal"
                              HorizontalAlignment="Left"
                              HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
                              Padding="{TemplateBinding Padding}"
                              TextAlignment="{TemplateBinding TextAlignment}"
                              TextDecorations="{TemplateBinding TextDecorations}"
                              TextWrapping="{TemplateBinding TextWrapping}"
                              VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
                              Foreground="{TemplateBinding Foreground}"/>
-->
                        <Path x:Name="FocusVisual" Height="21" Margin="2,0,.25,0" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness=".5" Visibility="Collapsed" Data="M0.5,4 C5.4921546,-1.2298763 6.7624655,0.25 16.25,0.25 C26.98455,0.25 37.771278,-0.14736003 48.5,0.25 C58.050766,0.60373205 67.126785,1.8436862 76.75,1.5 C81.214241,1.3405629 85.468109,1 90,1 C93.832878,1 95.48951,0.42107743 98.75,2.75 C103.03876,5.8134003 99,22.711088 99,29 C99,36.099834 99.578392,43.275311 99.25,50.5 C98.582687,65.180809 99.25,79.852791 99.25,94.5 C99.25,106.65568 72.737717,98.226776 56.5,99 C47.401512,99.433258 38.067318,99.75 29,99.75 C23.833334,99.75 18.666666,99.75 13.5,99.75 C11.25,99.75 9,99.75 6.75,99.75 C2.9788802,99.75 3.51701,102.43028 2,97.5 C0.044149127,91.143486 0.5,85.399605 0.5,78.5 C0.5,68.201317 -0.62925881,58.16333 0.5,48 C2.0587127,33.971584 0,18.959808 0,4.75 C0.13653865,4.6544228 0.34602007,4.8137808 0.5,4.75 C0.7177605,4.6598005 0.80388385,4.380744 1,4.25 C0.83333331,4.25 0.66666669,4.25 0.5,4.25 C0.5,4.1666665 0.5,4.0833335 0.5,4 z"/>
                        <!--End UI-->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="{x:Type ComboBox}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="Background" Value="{StaticResource BaseColorBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
        <Setter Property="Padding" Value="0"/>


        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ComboBox}">
                    <Grid>
                        <ToggleButton Grid.Column="2" Focusable="false" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"/>
                        <ContentPresenter HorizontalAlignment="Left" Margin="10,3,23,3" x:Name="ContentSite" VerticalAlignment="Center" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" IsHitTestVisible="False"/>

                        <!--<TextBox Visibility="Hidden" Template="{DynamicResource ComboBoxTextBox}" HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="PART_EditableTextBox" Style="{x:Null}" VerticalAlignment="Center" Focusable="True" Background="Transparent" IsReadOnly="{TemplateBinding IsReadOnly}"/>-->

                        <Popup IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
                            <Grid MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
                                <Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="2" Data="M8.0486603,-1.7956065 C40.652985,-1.2334629 60.802299,5.3778448 94.571907,-3.8320472 C132.02231,-14.045796 175.82878,1 215,1 C278.08371,1 340.94531,1 405,1 C447.66666,1 488.54492,0.24040417 531.21155,0.24040417 C560.38153,0.24040417 624.77802,-6.8858747 639.86951,-0.77759421 C642.52252,0.29620132 639.86847,98.304474 639.86847,124.43706 C639.86847,190.61852 640.87457,264.57269 640.87457,330.07413 C640.87457,369.30386 637.85645,396.94827 637.85645,435.94669 C637.85645,441.81662 648.37085,477.30365 637.85669,479.72144 C615.7226,484.81128 553.33221,480.23886 538.25421,479.72162 C360.17755,473.61288 232.40511,488.88297 2,479 C4.0243306,313.78604 0,161.53839 0,3 C0.66666669,3 2.3515811,1.2584095 3.0182476,1.2584095 C3.0182476,0.59174258 8.0486603,-1.1289399 8.0486603,-1.7956065 z"/>

                                <ScrollViewer Margin="4,6,4,6" SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">
                                    <ItemsPresenter />
                                </ScrollViewer>

                                <Path Stretch="Fill" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="0.5" Margin="-0.094,0.769,0.799,-0.479" Data="M1.7206836,12.568695 C2.4419925,11.031993 1.4481189,7.3090796 1.7209258,5.6722374 C2.2648225,2.4088583 0.46910813,5.715632 5.1693902,3.7012255 C10.004368,1.6290923 20.664461,1.2662256 26,2.3333333 C36.24308,4.3819494 47.8027,3.6553195 58.131069,2.7163765 C68.803482,1.7461575 79.164429,1.9772166 89.908081,1.9772166 C100.39313,1.9772166 98,-0.96195835 98,16.333334 C98,23.112209 96.493988,25.349688 97.298027,31.782001 C98.258453,39.465462 97.476074,52.003723 97.29808,59.862312 C97.103302,68.46196 97.666664,74.564713 97.666664,83 C97.666664,108.95624 103.8933,92.074692 62.072483,97.302299 C52.738716,98.469017 39.806664,100.01 30.333334,99.333336 C22.81004,98.795952 7.3937144,97.694511 1.967056,97.548622 C-0.28294224,97.488136 1.5684019,88.452782 2.3333333,82.333336 C3.1227529,76.017975 2.5054271,71.237221 2,64.666664 C0.6911695,47.651871 3.9379203,29.072496 1.720971,12.568695"/>
                            </Grid>
                        </Popup>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <!-- This forces the DropDown to have a minimum size if it is empty 
                        <Trigger Property="HasItems" Value="false">
                            <Setter Property="MinHeight" Value="95" TargetName="DropDownBorder"/>
                        </Trigger> -->
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                        </Trigger>
                        <Trigger Property="IsGrouping" Value="true">
                            <Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
                        </Trigger>
                        <!--<Trigger Property="AllowsTransparency" SourceName="Popup" Value="true">
                            <Setter Property="CornerRadius" Value="4" TargetName="DropDownBorder"/>
                            <Setter Property="Margin" Value="0,2,0,0" TargetName="DropDownBorder"/>
                        </Trigger>-->
                        <Trigger Property="IsEditable" Value="true">
                            <Setter Property="IsTabStop" Value="false"/>
                            <!--<Setter Property="Visibility" Value="Visible" TargetName="PART_EditableTextBox"/>-->
                            <Setter Property="Visibility" Value="Hidden" TargetName="ContentSite"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="Expander">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Expander">
                    <Grid>
                        <ContentPresenter />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


</ResourceDictionary>